StateMachineWorkflowInstance.StateHistory Propriedade
Definição
Obtém uma coleção de atividades de estado por meio da qual a instância de fluxo de trabalho da máquina de estado fez a transição.Gets a collection of state activities that the state machine workflow instance has transitioned through.
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)
Valor da propriedade
Uma coleção de transições que o StateActivity fez.A collection of transitions that the StateActivity has made.
Comentários
Essa propriedade só retornará o histórico de estado se o SqlTrackingService for usado.This property only returns the state history if the SqlTrackingService is used. Um InvalidOperationException ocorrerá se o SqlTrackingService não estiver instalado.An InvalidOperationException occurs if the SqlTrackingService is not installed. Se não houver nenhum histórico de estado para uma instância recém-criada, o histórico de estado será criado sem que a instância esteja sendo iniciada.If there is no state history for a newly created instance, state history is created without the instance being started.