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 が発生します。 新しく作成されたインスタンスの状態履歴がない場合、インスタンスの開始を待たずに状態履歴が作成されます。

適用対象