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
工作流程識別的資訊。