SqlTrackingWorkflowInstance.WorkflowEvents 屬性

定義

取得工作流程追蹤記錄清單,這些記錄已由執行階段追蹤基礎結構為此工作流程執行個體傳送到 SqlTrackingService

public:
 property System::Collections::Generic::IList<System::Workflow::Runtime::Tracking::WorkflowTrackingRecord ^> ^ WorkflowEvents { System::Collections::Generic::IList<System::Workflow::Runtime::Tracking::WorkflowTrackingRecord ^> ^ get(); };
public System.Collections.Generic.IList<System.Workflow.Runtime.Tracking.WorkflowTrackingRecord> WorkflowEvents { get; }
member this.WorkflowEvents : System.Collections.Generic.IList<System.Workflow.Runtime.Tracking.WorkflowTrackingRecord>
Public ReadOnly Property WorkflowEvents As IList(Of WorkflowTrackingRecord)

屬性值

WorkflowTrackingRecord 物件的清單,這些物件已由執行階段追蹤基礎結構為此工作流程執行個體傳送至追蹤資料庫。

備註

如果 AutoRefreshtrueWorkflowEvents 會包含目前為止所有為此工作流程執行個體傳送的工作流程追蹤記錄。如果 AutoRefreshfalseWorkflowEvents 會包含最後一次 Refresh 前傳送的工作流程追蹤記錄。

WorkflowEvents 包含了由執行階段追蹤基礎結構為此工作流程執行個體傳送至資料庫的工作流程追蹤記錄。 只有當工作流程執行個體發出的工作流程狀態事件對應至執行個體的 WorkflowTrackPoint 中指定的 TrackingProfile 時,工作流程執行階段引擎追蹤基礎結構才會傳送工作流程追蹤記錄。

適用於