TrackingWorkflowExceptionEventArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
包含與工作流實例執行期間發生的例外相關的資料。
public ref class TrackingWorkflowExceptionEventArgs : EventArgs
[System.Serializable]
public class TrackingWorkflowExceptionEventArgs : EventArgs
[System.Serializable]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public class TrackingWorkflowExceptionEventArgs : EventArgs
[<System.Serializable>]
type TrackingWorkflowExceptionEventArgs = class
inherit EventArgs
[<System.Serializable>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type TrackingWorkflowExceptionEventArgs = class
inherit EventArgs
Public Class TrackingWorkflowExceptionEventArgs
Inherits EventArgs
- 繼承
- 屬性
備註
Note
此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的
當在執行工作流程實例時發生例外,且 TrackingProfile 與該實例相關的 a 包含 WorkflowTrackPoint 對 的配置 TrackingWorkflowEvent.Exception,工作流程追蹤基礎架構會將其設 EventArgs 為 TrackingWorkflowExceptionEventArgsWorkflowTrackingRecord ,並傳送給追蹤服務。
Note
TrackingWorkflowExceptionEventArgs僅由執行時追蹤服務用來傳遞資訊。WorkflowTrackingRecord
屬性
| 名稱 | Description |
|---|---|
| ContextGuid |
已淘汰.
取得相關活動的上下文 ID。 |
| CurrentActivityPath |
已淘汰.
取得 QualifiedName 目前拋棄例外的活動。 |
| Exception |
已淘汰.
它會收到 Exception 工作流程實例拋出的那個。 |
| OriginalActivityPath |
已淘汰.
取得 QualifiedName 最初拋棄例外的活動。 |
| ParentContextGuid |
已淘汰.
取得父活動的上下文 ID。 |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
已淘汰.
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
已淘汰.
做為預設哈希函式。 (繼承來源 Object) |
| GetType() |
已淘汰.
取得目前實例的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
已淘汰.
建立目前 Object的淺層複本。 (繼承來源 Object) |
| ToString() |
已淘汰.
傳回表示目前 物件的字串。 (繼承來源 Object) |