StateMachineWorkflowInstance.StateHistory 屬性

定義

取得狀態活動集合,狀態機器工作流程執行個體已透過這些活動進行轉換。

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ StateHistory { System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<string> StateHistory { get; }
member this.StateHistory : System.Collections.ObjectModel.ReadOnlyCollection<string>
Public ReadOnly Property StateHistory As ReadOnlyCollection(Of String)

屬性值

ReadOnlyCollection<String>

StateActivity 已進行的轉換集合。

備註

如果已使用 SqlTrackingService,則這個屬性只傳回狀態記錄。 如果 InvalidOperationException 未安裝,則會發生 SqlTrackingService。 如果新建立的執行個體沒有狀態記錄,則不需啟動執行個體便會建立狀態記錄。

適用於