WorkflowAuthorizationException WorkflowAuthorizationException WorkflowAuthorizationException WorkflowAuthorizationException Constructors

定义

重载

WorkflowAuthorizationException() WorkflowAuthorizationException() WorkflowAuthorizationException()

初始化 WorkflowAuthorizationException 类的新实例。Initializes a new instance of the WorkflowAuthorizationException class.

WorkflowAuthorizationException(String) WorkflowAuthorizationException(String) WorkflowAuthorizationException(String) WorkflowAuthorizationException(String)

使用指定的消息初始化 WorkflowAuthorizationException 类的新实例。Initializes a new instance of the WorkflowAuthorizationException class using the specified message.

WorkflowAuthorizationException(SerializationInfo, StreamingContext) WorkflowAuthorizationException(SerializationInfo, StreamingContext) WorkflowAuthorizationException(SerializationInfo, StreamingContext) WorkflowAuthorizationException(SerializationInfo, StreamingContext)

使用序列化数据初始化 WorkflowAuthorizationException 类的新实例。Initializes a new instance of the WorkflowAuthorizationException class by using serialized data.

WorkflowAuthorizationException(String, Exception) WorkflowAuthorizationException(String, Exception) WorkflowAuthorizationException(String, Exception) WorkflowAuthorizationException(String, Exception)

使用指定的消息和 WorkflowAuthorizationException 初始化 Exception 类的新实例。Initializes a new instance of the WorkflowAuthorizationException class by using the specified message and Exception.

WorkflowAuthorizationException(String, String) WorkflowAuthorizationException(String, String) WorkflowAuthorizationException(String, String) WorkflowAuthorizationException(String, String)

使用活动和主体的名称初始化 WorkflowAuthorizationException 类的新实例。Initializes a new instance of the WorkflowAuthorizationException class using the name of the activity and the principal.

WorkflowAuthorizationException() WorkflowAuthorizationException() WorkflowAuthorizationException()

初始化 WorkflowAuthorizationException 类的新实例。Initializes a new instance of the WorkflowAuthorizationException class.

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

WorkflowAuthorizationException(String) WorkflowAuthorizationException(String) WorkflowAuthorizationException(String) WorkflowAuthorizationException(String)

使用指定的消息初始化 WorkflowAuthorizationException 类的新实例。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)

参数

message
String String String String

解释异常原因的错误消息。The error message that explains the reason for the exception.

WorkflowAuthorizationException(SerializationInfo, StreamingContext) WorkflowAuthorizationException(SerializationInfo, StreamingContext) WorkflowAuthorizationException(SerializationInfo, StreamingContext) WorkflowAuthorizationException(SerializationInfo, StreamingContext)

使用序列化数据初始化 WorkflowAuthorizationException 类的新实例。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)

参数

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

包含有关所引发异常的序列化对象数据的 SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext StreamingContext StreamingContext StreamingContext

StreamingContext,它包含关于源或目标的上下文信息。The StreamingContext that contains contextual information about the source or destination.

WorkflowAuthorizationException(String, Exception) WorkflowAuthorizationException(String, Exception) WorkflowAuthorizationException(String, Exception) WorkflowAuthorizationException(String, Exception)

使用指定的消息和 WorkflowAuthorizationException 初始化 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)

参数

message
String String String String

解释异常原因的错误消息。The error message that explains the reason for the exception.

WorkflowAuthorizationException(String, String) WorkflowAuthorizationException(String, String) WorkflowAuthorizationException(String, String) WorkflowAuthorizationException(String, String)

使用活动和主体的名称初始化 WorkflowAuthorizationException 类的新实例。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)

参数

activityName
String String String String

发生异常的 Activity 的名称。The name of the Activity in which the exception occurred.

principalName
String String String String

代表用户或实体引发工作流授权异常的用户或实体的名称。The name of the user or entity on whose behalf the workflow authorization exception was thrown.

适用于