Editar

Compartilhar via


WorkflowAuthorizationException Constructors

Definition

Initializes a new instance of the WorkflowAuthorizationException class.

Overloads

WorkflowAuthorizationException()

Initializes a new instance of the WorkflowAuthorizationException class.

WorkflowAuthorizationException(String)

Initializes a new instance of the WorkflowAuthorizationException class using the specified message.

WorkflowAuthorizationException(SerializationInfo, StreamingContext)

Initializes a new instance of the WorkflowAuthorizationException class by using serialized data.

WorkflowAuthorizationException(String, Exception)

Initializes a new instance of the WorkflowAuthorizationException class by using the specified message and Exception.

WorkflowAuthorizationException(String, String)

Initializes a new instance of the WorkflowAuthorizationException class using the name of the activity and the principal.

WorkflowAuthorizationException()

Initializes a new instance of the WorkflowAuthorizationException class.

public:
 WorkflowAuthorizationException();
public WorkflowAuthorizationException ();
Public Sub New ()

Applies to

WorkflowAuthorizationException(String)

Initializes a new instance of the WorkflowAuthorizationException class using the specified message.

public:
 WorkflowAuthorizationException(System::String ^ message);
public WorkflowAuthorizationException (string message);
new System.Workflow.Activities.WorkflowAuthorizationException : string -> System.Workflow.Activities.WorkflowAuthorizationException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

WorkflowAuthorizationException(SerializationInfo, StreamingContext)

Initializes a new instance of the WorkflowAuthorizationException class by using serialized data.

protected:
 WorkflowAuthorizationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected WorkflowAuthorizationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Workflow.Activities.WorkflowAuthorizationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Workflow.Activities.WorkflowAuthorizationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Applies to

WorkflowAuthorizationException(String, Exception)

Initializes a new instance of the WorkflowAuthorizationException class by using the specified message and Exception.

public:
 WorkflowAuthorizationException(System::String ^ message, Exception ^ innerException);
public WorkflowAuthorizationException (string message, Exception innerException);
new System.Workflow.Activities.WorkflowAuthorizationException : string * Exception -> System.Workflow.Activities.WorkflowAuthorizationException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The Exception that caused the WorkflowAuthorizationException.

Applies to

WorkflowAuthorizationException(String, String)

Initializes a new instance of the WorkflowAuthorizationException class using the name of the activity and the principal.

public:
 WorkflowAuthorizationException(System::String ^ activityName, System::String ^ principalName);
public WorkflowAuthorizationException (string activityName, string principalName);
new System.Workflow.Activities.WorkflowAuthorizationException : string * string -> System.Workflow.Activities.WorkflowAuthorizationException
Public Sub New (activityName As String, principalName As String)

Parameters

activityName
String

The name of the Activity in which the exception occurred.

principalName
String

The name of the user or entity on whose behalf the workflow authorization exception was thrown.

Applies to