FaultHandlersActivity Classe
Definição
Cuidado
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
Representa um CompositeActivity que tem uma lista ordenada de atividades filho do tipo FaultHandlerActivity.Represents a CompositeActivity that has an ordered list of child activities of type FaultHandlerActivity. Essa classe não pode ser herdada.This class cannot be inherited.
public ref class FaultHandlersActivity sealed : System::Workflow::ComponentModel::CompositeActivity, System::Workflow::ComponentModel::IActivityEventListener<System::Workflow::ComponentModel::ActivityExecutionStatusChangedEventArgs ^>
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.ComponentModel.FaultHandlersActivity), "Resources.Exceptions.png")]
[System.Workflow.ComponentModel.AlternateFlowActivity]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.FaultHandlersActivityValidator))]
public sealed class FaultHandlersActivity : System.Workflow.ComponentModel.CompositeActivity, System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs>
[System.Drawing.ToolboxBitmap(typeof(System.Workflow.ComponentModel.FaultHandlersActivity), "Resources.Exceptions.png")]
[System.Workflow.ComponentModel.AlternateFlowActivity]
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.FaultHandlersActivityValidator))]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public sealed class FaultHandlersActivity : System.Workflow.ComponentModel.CompositeActivity, System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.ActivityExecutionStatusChangedEventArgs>
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.ComponentModel.FaultHandlersActivity), "Resources.Exceptions.png")>]
[<System.Workflow.ComponentModel.AlternateFlowActivity>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.FaultHandlersActivityValidator))>]
type FaultHandlersActivity = class
inherit CompositeActivity
interface IActivityEventListener<ActivityExecutionStatusChangedEventArgs>
[<System.Drawing.ToolboxBitmap(typeof(System.Workflow.ComponentModel.FaultHandlersActivity), "Resources.Exceptions.png")>]
[<System.Workflow.ComponentModel.AlternateFlowActivity>]
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.ComponentModel.FaultHandlersActivityValidator))>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type FaultHandlersActivity = class
inherit CompositeActivity
interface IActivityEventListener<ActivityExecutionStatusChangedEventArgs>
Public NotInheritable Class FaultHandlersActivity
Inherits CompositeActivity
Implements IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs)
- Herança
- Atributos
- Implementações
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.
Construtores
| FaultHandlersActivity() |
Inicializa uma nova instância da classe FaultHandlersActivity.Initializes a new instance of the FaultHandlersActivity class. |
| FaultHandlersActivity(String) |
Inicializa uma nova instância da classe FaultHandlersActivity usando o nome da atividade.Initializes a new instance of the FaultHandlersActivity class using the name of the activity. |
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) |
| 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) |
| 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) |
| 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) |
| 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) |
Chamado pelo runtime de fluxo de trabalho para cancelar a execução de uma atividade que está sendo executada no momento.Called by the workflow runtime to cancel execution of an activity that is currently executing. (Herdado de Activity) |
| 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) |
Chamado pelo runtime de fluxo de trabalho para executar uma atividade.Called by the workflow runtime to execute an activity. (Herdado de Activity) |
| 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 é |
| 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) |
| 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 a todas as atividades filho adequadas desta instância e o IServiceProvider especificado.Initializes all appropriate child activities of this instance and the specified IServiceProvider. (Herdado de CompositeActivity) |
| 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 |
| OnActivityChangeAdd(ActivityExecutionContext, Activity) |
Chama quando uma atividade é adicionada.Calls when an activity is added. (Herdado de CompositeActivity) |
| 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 runtime de fluxo de trabalho como parte da transição da atividade para o estado fechado.Called by the workflow runtime as part of the activity's transition to the closed state. (Herdado de Activity) |
| 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
| IActivityEventListener<ActivityExecutionStatusChangedEventArgs>.OnEvent(Object, ActivityExecutionStatusChangedEventArgs) |
Define o procedimento de processamento quando o evento assinado ocorre.Defines the processing procedure when the subscribed-to event occurs. |
| 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) |