WorkflowInstance.WorkflowInstanceControl WorkflowInstance.WorkflowInstanceControl WorkflowInstance.WorkflowInstanceControl Struct

Definição

Fornece métodos para as classes derivadas WorkflowInstance para acessar a funcionalidade de tempo de execução de fluxo de trabalho.Provides methods for WorkflowInstance derived classes to access the functionality of the workflow runtime.

protected: value class WorkflowInstance::WorkflowInstanceControl
protected struct WorkflowInstance.WorkflowInstanceControl
Protected Structure WorkflowInstance.WorkflowInstanceControl
Herança
WorkflowInstance.WorkflowInstanceControlWorkflowInstance.WorkflowInstanceControlWorkflowInstance.WorkflowInstanceControl

Propriedades

HasPendingTrackingRecords HasPendingTrackingRecords HasPendingTrackingRecords

Chamado pelo tempo de execução de fluxo de trabalho para determinar se esta instância de fluxo de trabalho tem registros de acompanhamento pendentes e um participante de acompanhamento.Called by the workflow runtime to determine whether this workflow instance has pending tracking records and a tracking participant.

IsPersistable IsPersistable IsPersistable

Obtém um valor que indica se a WorkflowInstance está em um estado em que ela pode ser persistente.Gets a value that indicates whether the WorkflowInstance is in a state where it can be persisted.

State State State

Obtém o estado do WorkflowInstance.Gets the state of the WorkflowInstance.

TrackingEnabled TrackingEnabled TrackingEnabled

Chamado pelo tempo de execução de fluxo de trabalho para determinar se o acompanhamento está habilitado nesta instância de fluxo de trabalho.Called by the workflow runtime to determine whether tracking is enabled in this workflow instance.

Métodos

Abort() Abort() Abort()

Anula o WorkflowInstance.Aborts the WorkflowInstance.

Abort(Exception) Abort(Exception) Abort(Exception)

Anula a WorkflowInstance usando a exceção especificada.Aborts the WorkflowInstance using the specified exception.

BeginFlushTrackingRecords(TimeSpan, AsyncCallback, Object) BeginFlushTrackingRecords(TimeSpan, AsyncCallback, Object) BeginFlushTrackingRecords(TimeSpan, AsyncCallback, Object)

Chamado pelo tempo de execução do fluxo de trabalho para iniciar o envio de registros de acompanhamento pendentes aos participantes de acompanhamento de forma assíncrona.Called by the workflow runtime to begin sending pending tracking records to tracking participants asynchronously.

EndFlushTrackingRecords(IAsyncResult) EndFlushTrackingRecords(IAsyncResult) EndFlushTrackingRecords(IAsyncResult)

Chamado pelo tempo de execução do fluxo de trabalho para encerrar a operação de controle.Called by the workflow runtime to end the track operation.

Equals(Object) Equals(Object) Equals(Object)

Retorna um valor que indica se o WorkflowInstance.WorkflowInstanceControl atual é igual ao objeto especificado.Returns a value that indicates whether the current WorkflowInstance.WorkflowInstanceControl is equal to the specified object.

FlushTrackingRecords(TimeSpan) FlushTrackingRecords(TimeSpan) FlushTrackingRecords(TimeSpan)

Chamado pelo tempo de execução do fluxo de trabalho para enviar os registros de acompanhamento pendentes para acompanhar os participantes.Called by the workflow runtime to send pending tracking records to tracking participants.

GetAbortReason() GetAbortReason() GetAbortReason()

Retorna a exceção que faz com que a WorkflowInstance seja anulada.Returns the exception that causes the WorkflowInstance to abort.

GetBookmarks() GetBookmarks() GetBookmarks()

Retorna a coleção de indicadores disponíveis para a WorkflowInstance.Returns the collection of available bookmarks for the WorkflowInstance.

GetBookmarks(BookmarkScope) GetBookmarks(BookmarkScope) GetBookmarks(BookmarkScope)

Retorna a coleção de indicadores disponíveis para a WorkflowInstance criada no BookmarkScope especificado.Returns the collection of available bookmarks for the WorkflowInstance created in the specified BookmarkScope.

GetCompletionState() GetCompletionState() GetCompletionState()

Retorna o ActivityInstanceState final da WorkflowInstance.Returns the final ActivityInstanceState of the WorkflowInstance.

GetCompletionState(Exception) GetCompletionState(Exception) GetCompletionState(Exception)

Retorna o ActivityInstanceState final da WorkflowInstance, incluindo exceções de encerramento.Returns the final ActivityInstanceState of the WorkflowInstance, including termination exception.

GetCompletionState(IDictionary<String,Object>, Exception) GetCompletionState(IDictionary<String,Object>, Exception) GetCompletionState(IDictionary<String,Object>, Exception)

Retorna o ActivityInstanceState final da WorkflowInstance, incluindo saídas de fluxo de trabalho e a exceção de encerramento.Returns the final ActivityInstanceState of the WorkflowInstance, including workflow outputs and termination exception.

GetHashCode() GetHashCode() GetHashCode()

Retorna o código hash para este WorkflowInstance.WorkflowInstanceControl.Returns the hash code for this WorkflowInstance.WorkflowInstanceControl.

GetMappedVariables() GetMappedVariables() GetMappedVariables()

Retorna um dicionário de variáveis no escopo atual que foram especificadas com Mapped.Returns a dictionary of variables in the current scope that have been specified with Mapped.

PauseWhenPersistable() PauseWhenPersistable() PauseWhenPersistable()

Solicita que o tempo de execução de fluxo de trabalho pause a WorkflowInstance no próximo ponto de execução em que é possível persistir.Requests that the workflow runtime pause the WorkflowInstance at the next point of execution where it is possible to persist. Observe que a fila do agendador não pode estar vazia neste momento.Note that the scheduler queue may not be empty at this point.

PrepareForSerialization() PrepareForSerialization() PrepareForSerialization()

Prepara o estado WorkflowInstance para serialização.Prepares the WorkflowInstance state for serialization.

RequestPause() RequestPause() RequestPause()

Solicita a interrupção do agendador.Requests that the scheduler stops.

Run() Run() Run()

Instrui a WorkflowInstance a iniciar a execução.Instructs the WorkflowInstance to begin execution.

ScheduleBookmarkResumption(Bookmark, Object) ScheduleBookmarkResumption(Bookmark, Object) ScheduleBookmarkResumption(Bookmark, Object)

Agenda uma continuidade de indicador com o valor especificado.Schedules a bookmark resumption with the specified value.

ScheduleBookmarkResumption(Bookmark, Object, BookmarkScope) ScheduleBookmarkResumption(Bookmark, Object, BookmarkScope) ScheduleBookmarkResumption(Bookmark, Object, BookmarkScope)

Agenda uma continuidade de Bookmark com base no BookmarkScope especificado.Schedules a Bookmark resumption from the specified BookmarkScope.

ScheduleCancel() ScheduleCancel() ScheduleCancel()

Agenda o cancelamento da WorkflowInstance.Schedules the cancellation of the WorkflowInstance.

Terminate(Exception) Terminate(Exception) Terminate(Exception)

Faz a transição da WorkflowInstance para o estado Faulted terminal usando a exceção especificada.Transitions the WorkflowInstance into the terminal Faulted state using the specified exception.

Track(WorkflowInstanceRecord) Track(WorkflowInstanceRecord) Track(WorkflowInstanceRecord)

Chamado pelo tempo de execução de fluxo de trabalho para adicionar o registro pendente especificado à lista de registros pendentes.Called by the workflow runtime to add the specified pending record to the list of pending records.

Operadores

Equality(WorkflowInstance+WorkflowInstanceControl, WorkflowInstance+WorkflowInstanceControl) Equality(WorkflowInstance+WorkflowInstanceControl, WorkflowInstance+WorkflowInstanceControl) Equality(WorkflowInstance+WorkflowInstanceControl, WorkflowInstance+WorkflowInstanceControl)

Retorna um valor que indica se duas instâncias WorkflowInstance.WorkflowInstanceControl são iguais.Returns a value that indicates whether two WorkflowInstance.WorkflowInstanceControl instances are equal.

Inequality(WorkflowInstance+WorkflowInstanceControl, WorkflowInstance+WorkflowInstanceControl) Inequality(WorkflowInstance+WorkflowInstanceControl, WorkflowInstance+WorkflowInstanceControl) Inequality(WorkflowInstance+WorkflowInstanceControl, WorkflowInstance+WorkflowInstanceControl)

Retorna um valor que indica se duas instâncias WorkflowInstance.WorkflowInstanceControl não são iguais.Returns a value that indicates whether two WorkflowInstance.WorkflowInstanceControl instances are not equal.

Aplica-se a