WorkflowInstanceUnhandledExceptionRecord 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建 WorkflowInstanceUnhandledExceptionRecord 类的新实例。
重载
WorkflowInstanceUnhandledExceptionRecord(Guid, String, ActivityInfo, Exception)
创建 WorkflowInstanceUnhandledExceptionRecord 类的新实例。
public:
WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, System::String ^ activityDefinitionId, System::Activities::Tracking::ActivityInfo ^ faultSource, Exception ^ exception);
public WorkflowInstanceUnhandledExceptionRecord (Guid instanceId, string activityDefinitionId, System.Activities.Tracking.ActivityInfo faultSource, Exception exception);
new System.Activities.Tracking.WorkflowInstanceUnhandledExceptionRecord : Guid * string * System.Activities.Tracking.ActivityInfo * Exception -> System.Activities.Tracking.WorkflowInstanceUnhandledExceptionRecord
Public Sub New (instanceId As Guid, activityDefinitionId As String, faultSource As ActivityInfo, exception As Exception)
参数
- instanceId
- Guid
生成工作流实例的实例 ID。
- activityDefinitionId
- String
生成工作流活动的活动定义 ID。
- faultSource
- ActivityInfo
生成错误的活动。
- exception
- Exception
未经处理的异常数据。
适用于
WorkflowInstanceUnhandledExceptionRecord(Guid, Int64, String, ActivityInfo, Exception)
创建 WorkflowInstanceUnhandledExceptionRecord 类的新实例。
public:
WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, long recordNumber, System::String ^ activityDefinitionId, System::Activities::Tracking::ActivityInfo ^ faultSource, Exception ^ exception);
public WorkflowInstanceUnhandledExceptionRecord (Guid instanceId, long recordNumber, string activityDefinitionId, System.Activities.Tracking.ActivityInfo faultSource, Exception exception);
new System.Activities.Tracking.WorkflowInstanceUnhandledExceptionRecord : Guid * int64 * string * System.Activities.Tracking.ActivityInfo * Exception -> System.Activities.Tracking.WorkflowInstanceUnhandledExceptionRecord
Public Sub New (instanceId As Guid, recordNumber As Long, activityDefinitionId As String, faultSource As ActivityInfo, exception As Exception)
参数
- instanceId
- Guid
生成工作流实例的实例 ID。
- recordNumber
- Int64
一个定义跟踪事件生成顺序的序列。
- activityDefinitionId
- String
工作流的根活动的显示名称。
- faultSource
- ActivityInfo
生成错误的活动。
- exception
- Exception
未经处理的异常数据。
适用于
WorkflowInstanceUnhandledExceptionRecord(Guid, String, ActivityInfo, Exception, WorkflowIdentity)
创建 WorkflowInstanceUnhandledExceptionRecord 类的新实例。
public:
WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, System::String ^ activityDefinitionId, System::Activities::Tracking::ActivityInfo ^ faultSource, Exception ^ exception, System::Activities::WorkflowIdentity ^ workflowDefinitionIdentity);
public WorkflowInstanceUnhandledExceptionRecord (Guid instanceId, string activityDefinitionId, System.Activities.Tracking.ActivityInfo faultSource, Exception exception, System.Activities.WorkflowIdentity workflowDefinitionIdentity);
new System.Activities.Tracking.WorkflowInstanceUnhandledExceptionRecord : Guid * string * System.Activities.Tracking.ActivityInfo * Exception * System.Activities.WorkflowIdentity -> System.Activities.Tracking.WorkflowInstanceUnhandledExceptionRecord
Public Sub New (instanceId As Guid, activityDefinitionId As String, faultSource As ActivityInfo, exception As Exception, workflowDefinitionIdentity As WorkflowIdentity)
参数
- instanceId
- Guid
生成工作流实例的实例 ID。
- activityDefinitionId
- String
工作流的根活动的显示名称。
- faultSource
- ActivityInfo
生成错误的活动。
- exception
- Exception
未经处理的异常数据。
- workflowDefinitionIdentity
- WorkflowIdentity
关于工作流标识的信息。
适用于
WorkflowInstanceUnhandledExceptionRecord(Guid, Int64, String, ActivityInfo, Exception, WorkflowIdentity)
创建 WorkflowInstanceUnhandledExceptionRecord 类的新实例。
public:
WorkflowInstanceUnhandledExceptionRecord(Guid instanceId, long recordNumber, System::String ^ activityDefinitionId, System::Activities::Tracking::ActivityInfo ^ faultSource, Exception ^ exception, System::Activities::WorkflowIdentity ^ workflowDefinitionIdentity);
public WorkflowInstanceUnhandledExceptionRecord (Guid instanceId, long recordNumber, string activityDefinitionId, System.Activities.Tracking.ActivityInfo faultSource, Exception exception, System.Activities.WorkflowIdentity workflowDefinitionIdentity);
new System.Activities.Tracking.WorkflowInstanceUnhandledExceptionRecord : Guid * int64 * string * System.Activities.Tracking.ActivityInfo * Exception * System.Activities.WorkflowIdentity -> System.Activities.Tracking.WorkflowInstanceUnhandledExceptionRecord
Public Sub New (instanceId As Guid, recordNumber As Long, activityDefinitionId As String, faultSource As ActivityInfo, exception As Exception, workflowDefinitionIdentity As WorkflowIdentity)
参数
- instanceId
- Guid
生成工作流实例的实例 ID。
- recordNumber
- Int64
一个定义跟踪事件生成顺序的序列。
- activityDefinitionId
- String
工作流的根活动的显示名称。
- faultSource
- ActivityInfo
生成错误的活动。
- exception
- Exception
未经处理的异常数据。
- workflowDefinitionIdentity
- WorkflowIdentity
关于工作流标识的信息。