StateMachineWorkflowActivity Classe

Definição

Cuidado

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Funciona como o contêiner raiz para fluxos de trabalho da máquina de estado.Serves as the root container for state machine workflows. Contém as atividades e os estados orientados ao evento.Contains event-driven activities and states.

public ref class StateMachineWorkflowActivity : System::Workflow::Activities::StateActivity
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.StateMachineWorkflowActivity), "Resources.StateMachineWorkflowActivity.png")]
[System.Runtime.InteropServices.ComVisible(false)]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.StateActivityValidator))]
public class StateMachineWorkflowActivity : System.Workflow.Activities.StateActivity
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.StateMachineWorkflowActivity), "Resources.StateMachineWorkflowActivity.png")]
[System.Runtime.InteropServices.ComVisible(false)]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.StateActivityValidator))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class StateMachineWorkflowActivity : System.Workflow.Activities.StateActivity
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.StateMachineWorkflowActivity), "Resources.StateMachineWorkflowActivity.png")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.StateActivityValidator))>]
type StateMachineWorkflowActivity = class
    inherit StateActivity
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.Activities.StateMachineWorkflowActivity), "Resources.StateMachineWorkflowActivity.png")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.StateActivityValidator))>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type StateMachineWorkflowActivity = class
    inherit StateActivity
Public Class StateMachineWorkflowActivity
Inherits StateActivity
Herança
Atributos

Exemplos

O exemplo de código a seguir mostra como criar uma nova instância da StateMachineWorkflowActivity classe e usá-la para implementar uma máquina de estado básico para fazer a transição entre três Estados.The following code example shows how to create a new instance of the StateMachineWorkflowActivity class and use it to implement a basic state machine to transition between three states. Este exemplo de código faz parte do exemplo do SDK do SimpleStateMachineWorkflow do arquivo StateMachineWorkflow. cs.This code example is part of the SimpleStateMachineWorkflow SDK sample from the StateMachineWorkflow.cs file. Para obter mais informações, consulte máquina de estado simples.For more information, see Simple State Machine.

this.WhileLoop = new System.Workflow.Activities.WhileActivity();
this.Parallel = new System.Workflow.Activities.ParallelActivity();
this.Sequence1 = new System.Workflow.Activities.SequenceActivity();
this.Sequence2 = new System.Workflow.Activities.SequenceActivity();
this.ConsoleMessage1 = new System.Workflow.Activities.CodeActivity();
this.ConsoleMessage2 = new System.Workflow.Activities.CodeActivity();
//
// WhileLoop
//
this.WhileLoop.Activities.Add(this.Parallel);
codecondition1.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.WhileCondition);
this.WhileLoop.Condition = codecondition1;
this.WhileLoop.Name = "WhileLoop";
//
// Parallel
//
this.Parallel.Activities.Add(this.Sequence1);
this.Parallel.Activities.Add(this.Sequence2);
this.Parallel.Name = "Parallel";
Me.WhileLoop = New System.Workflow.Activities.WhileActivity()
Me.Parallel = New System.Workflow.Activities.ParallelActivity()
Me.Sequence1 = New System.Workflow.Activities.SequenceActivity()
Me.Sequence2 = New System.Workflow.Activities.SequenceActivity()
Me.ConsoleMessage1 = New System.Workflow.Activities.CodeActivity()
Me.ConsoleMessage2 = New System.Workflow.Activities.CodeActivity()
' 
' WhileLoop
' 
Me.WhileLoop.Activities.Add(Me.Parallel)
AddHandler codecondition1.Condition, AddressOf Me.WhileCondition
Me.WhileLoop.Condition = codecondition1
Me.WhileLoop.Name = "WhileLoop"
' 
' Parallel
' 
Me.Parallel.Activities.Add(Me.Sequence1)
Me.Parallel.Activities.Add(Me.Sequence2)
Me.Parallel.Name = "Parallel"

Comentários

Observação

Este material discute tipos e namespaces obsoletos.This material discusses types and namespaces that are obsolete. Para obter mais informações, consulte Deprecated Types in Windows Workflow Foundation 4.5 (Tipos preteridos no Windows Workflow Foundation 4.5).For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

O StateMachineWorkflowActivity é um contêiner de atividade usado para criar fluxos de trabalho que seguem um modelo de máquina de estado.The StateMachineWorkflowActivity is an activity container used to create workflows that follow a state machine model.

O StateMachineWorkflowActivity é um CompositeActivity , o que significa que o StateMachineWorkflowActivity pode conter outras atividades.The StateMachineWorkflowActivity is a CompositeActivity, which means the StateMachineWorkflowActivity can contain other activities. As StateMachineWorkflowActivity atividades e EventDrivenActivity são as únicas atividades filhas permitidas do StateMachineWorkflowActivity .The StateMachineWorkflowActivity and the EventDrivenActivity activities are the only permitted child activities of the StateMachineWorkflowActivity. EventDrivenActivity as atividades são permitidas porque a própria atividade raiz se comporta como um estado.EventDrivenActivity activities are permitted because the root activity itself behaves like a state. Portanto, você pode ter EventDrivenActivity atividades no nível raiz que são usadas por todas as atividades de estado no StateMachineWorkflowActivity .Therefore, you can have EventDrivenActivity activities at the root level that are used by all the State activities in the StateMachineWorkflowActivity. EventDrivenActivity as atividades nesse nível fornecem um mecanismo global para o processamento de eventos de fluxo de trabalho e a automatização de transições de estado.EventDrivenActivity activities at this level provide a global mechanism for processing workflow events and automate state transitions. StateActivity as atividades fornecem um mecanismo para definir os vários estágios no modelo.StateActivity activities provide a mechanism to define the various stages in the model.

O StateMachineWorkflowActivity tem propriedades que são necessárias para a execução do fluxo de trabalho da máquina de estado.The StateMachineWorkflowActivity has properties that are required for the execution of the state machine workflow. Mais notavelmente, o StateMachineWorkflowActivity tem duas propriedades que são importantes: InitialStateNameProperty e CompletedStateNameProperty .Most notably, the StateMachineWorkflowActivity has two properties that are important: InitialStateNameProperty and CompletedStateNameProperty.

O InitialStateNameProperty da máquina de estado é o estado em que a máquina de estado é quando uma instância do computador de estado é criada.The InitialStateNameProperty of the state machine is the state in which the state machine is when an instance of the state machine is created. A InitialStateNameProperty propriedade é obrigatória e deve ser fornecida quando uma StateMachineWorkflowActivity é criada.The InitialStateNameProperty property is mandatory and must be provided when a StateMachineWorkflowActivity is created. O InitialStateNameProperty da máquina de estado é como qualquer outra atividade de estado que esteja contida na máquina de estado.The InitialStateNameProperty of the state machine is like any other state activity that is contained within the state machine. A atividade de estado pode ser um filho direto da StateMachineWorkflowActivity atividade raiz e uma StateMachineWorkflowActivity pode ter apenas uma InitialStateNameProperty .The state activity can be a direct child of the StateMachineWorkflowActivity root activity and a StateMachineWorkflowActivity can have only one InitialStateNameProperty.

O CompletedStateNameProperty do StateMachineWorkflowActivity é uma StateActivity atividade que é designada como o estado final do StateMachineWorkflowActivity .The CompletedStateNameProperty of the StateMachineWorkflowActivity is a StateActivity activity that is designated as the end state of the StateMachineWorkflowActivity. Quando uma transição é feita para o CompletedStateNameProperty , a execução do fluxo de trabalho é concluída.When a transition is made to the CompletedStateNameProperty, the workflow execution is completed. O CompletedStateNameProperty não é obrigatório.The CompletedStateNameProperty is not mandatory. Isso significa que você pode ter um StateMachineWorkflowActivity que não está concluído.This means that you can have a StateMachineWorkflowActivity that is not completed. Isso não significa que o fluxo de trabalho da máquina de estado está sempre ativo na memória.This does not mean that the state machine workflow is always active in memory. O StateMachineWorkflowActivity pode ser descarregado, pois aguarda um evento.The StateMachineWorkflowActivity might be unloaded as it waits for an event.

StateMachineWorkflowActivity as atividades que nunca são concluídas são especialmente úteis no processamento de transações de negócios de longa execução, como no caso de uma ordem de compra recebida por um fornecedor.StateMachineWorkflowActivity activities that never complete are especially useful in processing long running business transactions, as in the case of a purchase order received by a supplier. O fato de que a ordem de compra foi atendida não significa que o processo de ordem de compra está acima.The fact that the purchase order was fulfilled does not mean that the purchase order process is over. Os bens que fazem parte da ordem de compra podem ser retornados ou a ordem de compra pode ser corrigida e ter itens adicionais adicionados a ele após o preenchimento.The goods that are part of the purchase order might be returned or the purchase order might be amended and have additional items added to it after the fulfillment. Às vezes, pode haver um requisito para manter os registros de ordem de compra por um longo período de tempo para fins legais ou outros.Sometimes there might be a requirement to keep the purchase order records for an extended period of time for legal or other purposes. O fato de que um fluxo de trabalho não termina apenas significa que o fluxo de trabalho permanece em um estado descarregado.The fact that a workflow does not finish just means that the workflow remains in an unloaded state. Pode haver um caso para desativar os fluxos de trabalho, o que significa que, após um período definido de tempo, a instância de fluxo de trabalho pode ser forçada a desligar.There may be a case for retiring the workflows, which means that after a set period of time the workflow instance may be forced to shut down.

Construtores

StateMachineWorkflowActivity()

Inicializa uma nova instância da classe StateMachineWorkflowActivity.Initializes a new instance of the StateMachineWorkflowActivity class.

StateMachineWorkflowActivity(String)

Inicializa uma nova instância da classe StateMachineWorkflowActivity usando o nome da atividade.Initializes a new instance of the StateMachineWorkflowActivity class using the name of the activity.

Campos

CompletedStateNameProperty

Representa o DependencyObject que tem como destino a propriedade CompletedStateName.Represents the DependencyObject that targets the CompletedStateName property.

InitialStateNameProperty

Representa o DependencyObject que tem como destino a propriedade InitialStateName.Represents the DependencyObject that targets the InitialStateName property.

SetStateQueueName

O nome do WorkflowQueue usado para alterar o estado de um StateMachineWorkflowActivity.The name of the WorkflowQueue that is used to change the state of a StateMachineWorkflowActivity. Este campo é constante.This field is constant.

StateChangeTrackingDataKey

Retém o valor de cadeia de caracteres da chave de dados de controle de alterações; "StateActivity.StateChange".Holds the string value of the change tracking data key; "StateActivity.StateChange". Este campo é uma constante.This field is a constant.

(Herdado de StateActivity)

Propriedades

Activities

Obtém o objeto que representa a coleção, ActivityCollection, de todas as atividades filho.Gets the object representing the collection, ActivityCollection, of all child activities.

(Herdado de CompositeActivity)
CanModifyActivities

Obtém ou define um valor que controla se as atividades individuais em Activities podem ser modificadas.Gets or sets a value which controls whether the individual activities within Activities can be modified.

(Herdado de CompositeActivity)
CompletedStateName

Obtém ou define o StateActivity de extremidade do fluxo de trabalho.Gets or sets the end StateActivity of the workflow.

CurrentStateName

Obtém o nome do StateActivity em execução no momento.Gets the name of the currently executing StateActivity.

Description

Obtém ou define a descrição definida pelo usuário da Activity.Gets or sets the user-defined description of the Activity.

(Herdado de Activity)
DesignMode

Obtém o valor que indica se esta instância está em modo de design ou de tempo de execução.Gets the value that indicates whether this instance is in design or run-time mode.

(Herdado de DependencyObject)
DynamicUpdateCondition

Obtém ou define um ActivityCondition que determina se as atualizações dinâmicas podem ser feitas no fluxo de trabalho, quando substituído em uma classe derivada.Gets or sets an ActivityCondition that determines whether dynamic updates can be made in the workflow, when overridden in a derived class.

Enabled

Obtém ou define um valor que indica se esta instância está habilitada para execução e validação.Gets or sets a value that indicates whether this instance is enabled for execution and validation.

(Herdado de Activity)
EnabledActivities

Obtém a coleção somente leitura que representa o subconjunto de Activities que estão habilitados.Gets the read-only collection that represents the subset of Activities that are enabled.

(Herdado de CompositeActivity)
ExecutionResult

Obtém o ActivityExecutionResult da última tentativa de executar essa instância.Gets the ActivityExecutionResult of the last attempt to run this instance.

(Herdado de Activity)
ExecutionStatus

Obtém o ActivityExecutionStatus atual dessa instância.Gets the current ActivityExecutionStatus of this instance.

(Herdado de Activity)
InitialStateName

Obtém ou define o StateActivity no qual o StateMachineWorkflowActivity está quando uma instância da máquina de estado é criada.Gets or sets the StateActivity in which the StateMachineWorkflowActivity is when an instance of the state machine is created.

IsDynamicActivity

Obtém informações sobre se a atividade está em execução dentro do ActivityExecutionContext padrão da instância de fluxo de trabalho.Gets information about whether the activity is executing within the default ActivityExecutionContext of the workflow instance.

(Herdado de Activity)
Name

Obtém ou define o nome desta instância.Gets or sets the name of this instance. Este nome deve estar em conformidade com as convenções de nomenclatura de variável da linguagem de programação que está sendo usada no projeto de fluxo de trabalho.This name must conform to the variable naming convention of the programming language that is being used in the Workflow project.

(Herdado de Activity)
Parent

Obtém o CompositeActivity que contém esse Activity.Gets the CompositeActivity that contains this Activity.

(Herdado de Activity)
ParentDependencyObject

Obtém o DependencyObject pai no grafo DependencyObject.Gets the parent DependencyObject in the DependencyObject graph.

(Herdado de DependencyObject)
PreviousStateName

Obtém o nome do StateActivity executado anteriormente.Gets the name of the previously executed StateActivity.

QualifiedName

Obtém o nome qualificado da atividade.Gets the qualified name of the activity. Nomes de atividades qualificados sempre são exclusivos em uma instância de fluxo de trabalho.Qualified activity names are always unique in a workflow instance.

(Herdado de Activity)
Site

Obtém ou define uma referência ao componente Site do DependencyObject.Gets or sets a reference to the Site component of the DependencyObject.

(Herdado de DependencyObject)
UserData

Obtém um IDictionary que associa dados personalizados a essa instância de classe.Gets an IDictionary that associates custom data with this class instance.

(Herdado de DependencyObject)
WorkflowInstanceId

Obtém o Guid associado à instância.Gets the Guid associated with the instance.

(Herdado de Activity)

Métodos

AddHandler(DependencyProperty, Object)

Adiciona um manipulador para um evento de um DependencyObject.Adds a handler for an event of a DependencyObject.

(Herdado de DependencyObject)
ApplyWorkflowChanges(WorkflowChanges)

Aplica o manifesto WorkflowChanges no parâmetro a esta instância.Applies the WorkflowChanges manifest in the parameter to this instance.

(Herdado de CompositeActivity)
Cancel(ActivityExecutionContext)

Cancela a execução do StateActivity.Cancels the execution of the StateActivity.

(Herdado de StateActivity)
Clone()

Cria uma cópia profunda do Activity.Creates a deep copy of the Activity.

(Herdado de Activity)
Dispose()

Libera todos os recursos usados pelo DependencyObject.Releases all the resources used by the DependencyObject.

(Herdado de DependencyObject)
Dispose(Boolean)

Chama Dispose(Boolean) nesta instância e, opcionalmente, chama Dispose() em todas as atividades filho desta instância.Calls Dispose(Boolean) on this instance, and optionally calls Dispose() on all child activities of this instance.

(Herdado de CompositeActivity)
Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
Execute(ActivityExecutionContext)

Executa a StateActivity.Executes the StateActivity.

(Herdado de StateActivity)
GetActivityByName(String)

Retorna a instância do Activity cujo nome é solicitado do conjunto de todas as atividades em execução na atividade raiz desta instância, que está dentro do fluxo de trabalho.Returns the instance of the Activity whose name is requested from the set of all activities running under the root activity of this instance, which is within the workflow.

(Herdado de Activity)
GetActivityByName(String, Boolean)

Retorna a instância do Activity cujo nome é solicitado do conjunto de todas as atividades sob a raiz do Activity desta instância se o segundo parâmetro é false e no Activity atual se o parâmetro é true.Returns the instance of the Activity whose name is requested from the set of all activities under the root the Activity of this instance if the second parameter is false and under the current Activity if the second parameter is true.

(Herdado de Activity)
GetBinding(DependencyProperty)

Fornece acesso para ao ActivityBind associado ao DependencyProperty específico.Provides access to the ActivityBind associated with the specific DependencyProperty.

(Herdado de DependencyObject)
GetBoundValue(ActivityBind, Type)

Recupera o Object que é a entidade de um ActivityBind.Retrieves the Object that is the subject of an ActivityBind.

(Herdado de DependencyObject)
GetDynamicActivities(Activity)

Retorna uma matriz que contém todas as instâncias em execução no momento da atividade especificada.Returns an array that contains all of the currently executing instances of the specified activity.

(Herdado de CompositeActivity)
GetDynamicActivity(String)

Obtém a instância de execução do Activity que corresponde ao nome da atividade filho especificada.Gets the executing instance of the Activity that corresponds to the specified child activity name.

(Herdado de StateActivity)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetInvocationList<T>(DependencyProperty)

Obtém uma matriz que contém os delegados para o DependencyProperty especificado.Gets an array that contains the delegates for the specified DependencyProperty.

(Herdado de DependencyObject)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
GetValue(DependencyProperty)

Fornece acesso ao valor do DependencyProperty designado.Provides access to the value of the designated DependencyProperty.

(Herdado de DependencyObject)
GetValueBase(DependencyProperty)

Fornece acesso ao objeto associado de um DependencyProperty e ignora a substituição de GetValue(DependencyProperty).Provides access to the bound object of a DependencyProperty and bypasses the GetValue(DependencyProperty) override.

(Herdado de DependencyObject)
HandleFault(ActivityExecutionContext, Exception)

Chamado quando uma exceção é gerada dentro do contexto da execução desta instância.Called when an exception is raised within the context of the execution of this instance.

(Herdado de CompositeActivity)
Initialize(IServiceProvider)

Inicializa o StateActivity usando o provedor de serviços.Initializes the StateActivity using the service provider.

(Herdado de StateActivity)
InitializeProperties()

Executa a inicialização nas propriedades de dependência quando substituído em uma classe derivada.Performs initialization on dependency properties when overridden in a derived class.

(Herdado de DependencyObject)
Invoke<T>(EventHandler<T>, T)

Assina um EventHandler e invoca esse delegado.Subscribes an EventHandler and invokes that delegate.

(Herdado de Activity)
Invoke<T>(IActivityEventListener<T>, T)

Assina um IActivityEventListener<T> e invoca esse delegado.Subscribes an IActivityEventListener<T> and invokes that delegate.

(Herdado de Activity)
IsBindingSet(DependencyProperty)

Indica se o valor de um DependencyProperty é definido como uma associação.Indicates whether the value of a DependencyProperty is set as a binding. Consulte SetBinding(DependencyProperty, ActivityBind).See SetBinding(DependencyProperty, ActivityBind).

(Herdado de DependencyObject)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
MetaEquals(DependencyObject)

Determina se o metaproperties deste DependencyObject é igual a metaproperties do DependencyObject com parâmetros.Determines whether the metaproperties of this DependencyObject equals the metaproperties of the parameterized DependencyObject.

(Herdado de DependencyObject)
OnActivityChangeAdd(ActivityExecutionContext, Activity)

Determina se a atividade que está sendo adicionada é um EventDrivenActivity e, em caso afirmativo, verifica se o evento recém-adicionado controlado precisa ser assinado.Determines if the activity being added is an EventDrivenActivity and if so, verifies whether the newly added event driven needs to be subscribed.

(Herdado de StateActivity)
OnActivityChangeRemove(ActivityExecutionContext, Activity)

Chamado quando uma atividade é removida.Called when an activity is removed.

(Herdado de CompositeActivity)
OnActivityExecutionContextLoad(IServiceProvider)

Chamado pelo mecanismo de runtime de fluxo de trabalho sempre que o ActivityExecutionContext para esta atividade for carregado.Called by the workflow runtime engine every time the ActivityExecutionContext for this activity is loaded.

(Herdado de CompositeActivity)
OnActivityExecutionContextUnload(IServiceProvider)

Chamado pelo mecanismo de runtime de fluxo de trabalho sempre que o ActivityExecutionContext para esta atividade for descarregado.Called by the workflow runtime engine every time the ActivityExecutionContext for this activity is unloaded.

(Herdado de CompositeActivity)
OnClosed(IServiceProvider)

Chamado pelo mecanismo de runtime de fluxo de trabalho como parte da transição da atividade para o estado Closed.Called by the workflow runtime engine as part of the activity's transition to the Closed state.

(Herdado de StateActivity)
OnListChanged(ActivityCollectionChangeEventArgs)

Executa o processamento adicional quando a propriedade Activities é alterada.Performs additional processing when the Activities property changes.

(Herdado de CompositeActivity)
OnListChanging(ActivityCollectionChangeEventArgs)

Evento que ocorre antes que uma alteração é feita no Activities subjacente.Event that occurs before a change being made to the underlying Activities.

(Herdado de CompositeActivity)
OnWorkflowChangesCompleted(ActivityExecutionContext)

Chamado depois que forem feitas alterações na coleção Activities desta instância.Called after changes have been made to the collection Activities of this instance.

(Herdado de CompositeActivity)
RaiseEvent(DependencyProperty, Object, EventArgs)

Gera um Event associado à propriedade de dependência especificada.Raises an Event associated with the specified dependency property.

(Herdado de Activity)
RaiseGenericEvent<T>(DependencyProperty, Object, T)

Gera o evento associado com o DependencyProperty referenciado.Raises the event associated with the referenced DependencyProperty.

(Herdado de Activity)
RegisterForStatusChange(DependencyProperty, IActivityEventListener<ActivityExecutionStatusChangedEventArgs>)

Registra o DependencyProperty especificado para o evento de alteração de status.Registers the specified DependencyProperty for the status change event.

(Herdado de Activity)
RemoveHandler(DependencyProperty, Object)

Remove um EventHandler de um DependencyProperty associado.Removes an EventHandler from an associated DependencyProperty.

(Herdado de DependencyObject)
RemoveProperty(DependencyProperty)

Remove um DependencyProperty do DependencyObject.Removes a DependencyProperty from the DependencyObject.

(Herdado de DependencyObject)
Save(Stream)

Grava o Activity para um Stream para persistência.Writes the Activity to a Stream for persistence.

(Herdado de Activity)
Save(Stream, IFormatter)

Grava o Activity para um Stream para persistência usando o IFormatter personalizado fornecido para a serialização.Writes the Activity to a Stream for persistence using the custom IFormatter provided for serialization.

(Herdado de Activity)
SetBinding(DependencyProperty, ActivityBind)

Define o ActivityBind para o DependencyProperty especificado.Sets the ActivityBind for the specified DependencyProperty.

(Herdado de DependencyObject)
SetBoundValue(ActivityBind, Object)

Define o valor do ActivityBind de destino.Sets the value of the target ActivityBind.

(Herdado de DependencyObject)
SetReadOnlyPropertyValue(DependencyProperty, Object)

Define o valor de um DependencyProperty, que é somente leitura.Sets the value of a DependencyProperty, which is read-only.

(Herdado de DependencyObject)
SetValue(DependencyProperty, Object)

Define o valor do DependencyProperty para o objeto.Sets the value of the DependencyProperty to the object.

(Herdado de DependencyObject)
SetValueBase(DependencyProperty, Object)

Define o valor da DependencyProperty usando o Object especificado, ignorando o SetValue(DependencyProperty, Object).Sets the value of the DependencyProperty to the specified Object, bypassing the SetValue(DependencyProperty, Object).

(Herdado de DependencyObject)
ToString()

Fornece uma cadeia de caracteres que representa essa instância.Provides a string that represents this instance.

(Herdado de Activity)
TrackData(Object)

Informa a infraestrutura de acompanhamento de tempo de execução das informações de acompanhamento pendentes.Informs the run-time tracking infrastructure of pending tracking information.

(Herdado de Activity)
TrackData(String, Object)

Informa a infraestrutura de acompanhamento de tempo de execução das informações de acompanhamento pendentes.Informs the run-time tracking infrastructure of pending tracking information.

(Herdado de Activity)
Uninitialize(IServiceProvider)

Chamado pelo mecanismo de runtime de fluxo de trabalho quando uma atividade faz a transição para o estado Closed do estado Initialized.Called by the workflow runtime engine when an activity transitions into the Closed state from the Initialized state.

(Herdado de CompositeActivity)
UnregisterForStatusChange(DependencyProperty, IActivityEventListener<ActivityExecutionStatusChangedEventArgs>)

Cancela o registro do DependencyProperty especificado para o evento de alteração de status.Un-registers the specified DependencyProperty for the status change event.

(Herdado de Activity)

Eventos

Canceling

Ocorre quando a execução da atividade é cancelada.Occurs when the activity execution is canceled.

(Herdado de Activity)
Closed

Ocorre quando um Activity concluiu a execução.Occurs when an Activity has completed execution.

(Herdado de Activity)
Compensating

Ocorre durante a execução de um método de compensação no Activity.Occurs when running a compensation method on the Activity.

(Herdado de Activity)
Executing

Ocorre quando o Activity é executado.Occurs when the Activity is run.

(Herdado de Activity)
Faulting

Ocorre quando uma exceção é gerada durante a execução da instância.Occurs when an exception is raised during the running of the instance.

(Herdado de Activity)
StatusChanged

Ocorre quando o ActivityExecutionStatus de um Activity em execução muda.Occurs when the ActivityExecutionStatus of a running Activity changes.

(Herdado de Activity)

Implantações explícitas de interface

IComponent.Disposed

Representa o método que manipula o evento Disposed de um componente.Represents the method that handles the Disposed event of a component.

(Herdado de DependencyObject)

Aplica-se a