CallExternalMethodActivity Classe

Definição

Cuidado

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

Define uma atividade de comunicação do fluxo de trabalho que é usada para chamar um método em um serviço local.Defines a workflow communication activity that is used to call a method on a local service. Esta atividade é usada para enviar dados do fluxo de trabalho para o host por meio do serviço local.This activity is used to send data from the workflow to the host through the local service.

public ref class CallExternalMethodActivity : System::Workflow::ComponentModel::Activity, System::Workflow::ComponentModel::IDynamicPropertyTypeProvider
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.CallExternalMethodActivityValidator))]
public class CallExternalMethodActivity : System.Workflow.ComponentModel.Activity, System.Workflow.ComponentModel.IDynamicPropertyTypeProvider
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.CallExternalMethodActivityValidator))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class CallExternalMethodActivity : System.Workflow.ComponentModel.Activity, System.Workflow.ComponentModel.IDynamicPropertyTypeProvider
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.CallExternalMethodActivityValidator))>]
type CallExternalMethodActivity = class
    inherit Activity
    interface IDynamicPropertyTypeProvider
[<System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(System.Workflow.Activities.CallExternalMethodActivityValidator))>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type CallExternalMethodActivity = class
    inherit Activity
    interface IDynamicPropertyTypeProvider
Public Class CallExternalMethodActivity
Inherits Activity
Implements IDynamicPropertyTypeProvider
Herança
CallExternalMethodActivity
Atributos
Implementações

Exemplos

O exemplo de código a seguir mostra como usar o CallExternalMethodActivity em uma atividade personalizada para chamar um método externo.The following code example shows how to use the CallExternalMethodActivity in a custom activity to call an external method. Este exemplo de código faz parte do exemplo de SDK ouvinte do arquivo PurchaseOrderWorkflow. designer. cs.This code example is part of the Listen SDK sample from the PurchaseOrderWorkflow.Designer.cs file. Para obter mais informações, consulte exemplo de escuta.For more information, see Listen Sample.

[System.Diagnostics.DebuggerNonUserCode()]
private void InitializeComponent()
{
    this.CanModifyActivities = true;
    this.Timeout = new System.Workflow.Activities.CodeActivity();
    this.Delay = new System.Workflow.Activities.DelayActivity();
    this.RejectPO = new System.Workflow.Activities.HandleExternalEventActivity();
    this.ApprovePO = new System.Workflow.Activities.HandleExternalEventActivity();
    this.OnTimeoutEventDriven = new System.Workflow.Activities.EventDrivenActivity();
    this.OnOrderRejectedEventDriven = new System.Workflow.Activities.EventDrivenActivity();
    this.OnOrderApprovedEventDriven = new System.Workflow.Activities.EventDrivenActivity();
    this.POStatusListen = new System.Workflow.Activities.ListenActivity();
    this.CreatePO = new System.Workflow.Activities.CallExternalMethodActivity();
    //
    // Timeout
    //
    this.Timeout.Name = "Timeout";
    this.Timeout.ExecuteCode += new System.EventHandler(this.OnTimeout);
    //
    // Delay
    //
    this.Delay.Name = "Delay";
    this.Delay.TimeoutDuration = System.TimeSpan.Parse("00:00:05");
    //
    // RejectPO
    //
    this.RejectPO.EventName = "OrderRejected";
    this.RejectPO.InterfaceType = typeof(IOrderService);
    this.RejectPO.Name = "RejectPO";
    this.RejectPO.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.OnRejectPO);
    //
    // ApprovePO
    //
    this.ApprovePO.EventName = "OrderApproved";
    this.ApprovePO.InterfaceType = typeof(IOrderService);
    this.ApprovePO.Name = "ApprovePO";
    this.ApprovePO.Invoked += new System.EventHandler<System.Workflow.Activities.ExternalDataEventArgs>(this.OnApprovePO);
    //
    // OnTimeoutEventDriven
    //
    this.OnTimeoutEventDriven.Activities.Add(this.Delay);
    this.OnTimeoutEventDriven.Activities.Add(this.Timeout);
    this.OnTimeoutEventDriven.Name = "OnTimeoutEventDriven";
    //
    // OnOrderRejectedEventDriven
    //
    this.OnOrderRejectedEventDriven.Activities.Add(this.RejectPO);
    this.OnOrderRejectedEventDriven.Name = "OnOrderRejectedEventDriven";
    //
    // OnOrderApprovedEventDriven
    //
    this.OnOrderApprovedEventDriven.Activities.Add(this.ApprovePO);
    this.OnOrderApprovedEventDriven.Name = "OnOrderApprovedEventDriven";
    //
    // POStatusListen
    //
    this.POStatusListen.Activities.Add(this.OnOrderApprovedEventDriven);
    this.POStatusListen.Activities.Add(this.OnOrderRejectedEventDriven);
    this.POStatusListen.Activities.Add(this.OnTimeoutEventDriven);
    this.POStatusListen.Name = "POStatusListen";
    //
    // CreatePO
    //
    this.CreatePO.InterfaceType = typeof(IOrderService);
    this.CreatePO.MethodName = "CreateOrder";
    this.CreatePO.Name = "CreatePO";
    this.CreatePO.MethodInvoking += new System.EventHandler(this.OnBeforeCreateOrder);
    //
    // PurchaseOrderWorkflow
    //
    this.Activities.Add(this.CreatePO);
    this.Activities.Add(this.POStatusListen);
    this.Name = "PurchaseOrderWorkflow";
    this.CanModifyActivities = false;
}
    <System.Diagnostics.DebuggerNonUserCode()> _
Private Sub InitializeComponent()
        Me.CanModifyActivities = True
        Me.CreatePO = New System.Workflow.Activities.CallExternalMethodActivity
        Me.POStatusListen = New System.Workflow.Activities.ListenActivity
        Me.OnOrderApprovedEventDriven = New System.Workflow.Activities.EventDrivenActivity
        Me.OnOrderRejectedEventDriven = New System.Workflow.Activities.EventDrivenActivity
        Me.OnTimeoutEventDriven = New System.Workflow.Activities.EventDrivenActivity
        Me.ApprovePO = New System.Workflow.Activities.HandleExternalEventActivity
        Me.RejectPO = New System.Workflow.Activities.HandleExternalEventActivity
        Me.Delay = New System.Workflow.Activities.DelayActivity
        Me.Timeout = New System.Workflow.Activities.CodeActivity
        '
        'Timeout
        '
        Me.Timeout.Name = "Timeout"
        AddHandler Me.Timeout.ExecuteCode, AddressOf Me.OnTimeout
        '
        'Delay
        '
        Me.Delay.Name = "Delay"
        Me.Delay.TimeoutDuration = System.TimeSpan.Parse("00:00:05")
        '
        'RejectPO
        '
        Me.RejectPO.EventName = "OrderRejected"
        Me.RejectPO.InterfaceType = GetType(IOrderService)
        Me.RejectPO.Name = "RejectPO"
        AddHandler Me.RejectPO.Invoked, AddressOf Me.OnRejectPO
        ' 
        ' ApprovePO
        ' 
        Me.ApprovePO.EventName = "OrderApproved"
        Me.ApprovePO.InterfaceType = GetType(IOrderService)
        Me.ApprovePO.Name = "ApprovePO"
        AddHandler Me.ApprovePO.Invoked, AddressOf Me.OnApprovePO
        ' 
        ' OnTimeoutEventDriven
        ' 
        Me.OnTimeoutEventDriven.Activities.Add(Me.Delay)
        Me.OnTimeoutEventDriven.Activities.Add(Me.Timeout)
        Me.OnTimeoutEventDriven.Name = "OnTimeoutEventDriven"
        ' 
        ' OnOrderRejectedEventDriven
        ' 
        Me.OnOrderRejectedEventDriven.Activities.Add(Me.RejectPO)
        Me.OnOrderRejectedEventDriven.Name = "OnOrderRejectedEventDriven"
        ' 
        ' OnOrderApprovedEventDriven
        ' 
        Me.OnOrderApprovedEventDriven.Activities.Add(Me.ApprovePO)
        Me.OnOrderApprovedEventDriven.Name = "OnOrderApprovedEventDriven"
        ' 
        ' POStatusListen
        ' 
        Me.POStatusListen.Activities.Add(Me.OnOrderApprovedEventDriven)
        Me.POStatusListen.Activities.Add(Me.OnOrderRejectedEventDriven)
        Me.POStatusListen.Activities.Add(Me.OnTimeoutEventDriven)
        Me.POStatusListen.Name = "POStatusListen"
        ' 
        ' CreatePO
        ' 
        Me.CreatePO.InterfaceType = GetType(IOrderService)
        Me.CreatePO.MethodName = "CreateOrder"
        Me.CreatePO.Name = "CreatePO"
        AddHandler Me.CreatePO.MethodInvoking, AddressOf Me.OnBeforeCreateOrder
        ' 
        ' PurchaseOrderWorkflow
        ' 
        Me.Activities.Add(Me.CreatePO)
        Me.Activities.Add(Me.POStatusListen)
        Me.Name = "PurchaseOrderWorkflow"
        Me.CanModifyActivities = False

    End Sub

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.

Um serviço local é uma classe que implementa uma interface de serviço local (uma interface que é marcada com ExternalDataExchangeAttribute ) e é adicionada ao ExternalDataExchangeService .A local service is a class that implements a local service interface (an interface that is marked with ExternalDataExchangeAttribute) and is added to the ExternalDataExchangeService.

Observação

Quando o método externo é chamado, todos os parâmetros do método são clonados.When the external method is called all parameters of the method are cloned. Se os tipos de parâmetro implementarem ICloneable o Clone método for chamado ou forem serializados e desserializados com um BinaryFormatter .If the parameter types implement ICloneable the Clone method is called or they are serialized and deserialized with a BinaryFormatter.

Construtores

CallExternalMethodActivity()

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

CallExternalMethodActivity(String)

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

Campos

CorrelationTokenProperty

Representa o DependencyProperty que tem como destino a propriedade CorrelationToken.Represents the DependencyProperty that targets the CorrelationToken property.

InterfaceTypeProperty

Representa o DependencyProperty que tem como destino a propriedade InterfaceType.Represents the DependencyProperty that targets the InterfaceType property.

MethodInvokingEvent

Representa o DependencyProperty que destina-se ao evento MethodInvoking.Represents the DependencyProperty that targets the MethodInvoking event.

MethodNameProperty

Representa o DependencyProperty que tem como destino a propriedade MethodName.Represents the DependencyProperty that targets the MethodName property.

ParameterBindingsProperty

Representa o DependencyProperty que tem como destino a propriedade ParameterBindings.Represents the DependencyProperty that targets the ParameterBindings property.

Propriedades

CorrelationToken

Obtém ou define o CorrelationToken para o método externo.Gets or sets the CorrelationToken for the external method.

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)
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)
InterfaceType

Obtém ou define um método externo que declara a interface que tem o ExternalDataExchangeAttribute.Gets or sets an external method's declaring interface that has the ExternalDataExchangeAttribute.

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)
MethodName

Obtém ou define o nome do método a ser chamado no serviço local registrado com o ExternalDataExchangeService.Gets or sets the name of the method to be called on the local service registered with the ExternalDataExchangeService.

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)
ParameterBindings

Obtém a coleção de parâmetros associáveis como encontrados na lista de parâmetros formais do método externo.Gets the collection of bindable parameters as found in the external method's formal parameter list.

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)
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)

Libera os recursos não gerenciados usados e opcionalmente os gerenciados usados pelo DependencyObject.Releases the unmanaged resources and optionally releases the managed resources used by DependencyObject.

(Herdado de DependencyObject)
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)

Tenta executar o CallExternalMethodActivity com o ActivityExecutionContext especificado.Tries to run the CallExternalMethodActivity with the specified ActivityExecutionContext.

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)
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 Activity)
Initialize(IServiceProvider)

Chamado pelo runtime de fluxo de trabalho para inicializar uma atividade durante a construção de uma nova instância de fluxo de trabalho.Called by the workflow runtime to initialize an activity during the construction of a new workflow instance. Este método é chamado durante a construção de um ActivityExecutionContext dinâmico.This method is called during the construction of a dynamic ActivityExecutionContext.

(Herdado de Activity)
InitializeProperties()

Executa a inicialização nas propriedades de dependência.Performs initialization on dependency properties.

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)
OnActivityExecutionContextLoad(IServiceProvider)

Chamado pelo runtime de fluxo de trabalho sempre que um ActivityExecutionContext é carregado.Called by the workflow runtime whenever an ActivityExecutionContext is loaded. Por exemplo, este método é chamado durante a criação de um ActivityExecutionContext, bem como toda vez que o ActivityExecutionContext é reencarnado quando uma instância de fluxo de trabalho é carregada do armazenamento persistente.For example, this method is called during the creation of an ActivityExecutionContext as well as every time the ActivityExecutionContext is reincarnated when a workflow instance is loaded from persistent storage.

(Herdado de Activity)
OnActivityExecutionContextUnload(IServiceProvider)

Chamado pelo runtime de fluxo de trabalho sempre que um ActivityExecutionContext é descarregado.Called by the workflow runtime whenever an ActivityExecutionContext is unloaded. Por exemplo, este método é chamado durante a conclusão de um ActivityExecutionContext, bem como toda vez que ActivityExecutionContext é descarregado quando uma instância de fluxo de trabalho é persistida.For example, this method is called during completion of an ActivityExecutionContext as well as every time the ActivityExecutionContext is unloaded when a workflow instance is persisted.

(Herdado de Activity)
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)
OnMethodInvoked(EventArgs)

Fornece um gancho para classes derivadas extraírem e retornarem valores do ParameterBindings.Provides a hook for derived classes to extract out and return values from the ParameterBindings. Esse método é chamado logo após a execução do método externo.This method is called just after the external method is run.

OnMethodInvoking(EventArgs)

Fornece um gancho para classes derivadas definirem ParameterBindings.Provides a hook for derived classes to set ParameterBindings. Esse método é chamado logo antes da execução do método externo.This method is called just before the external method is run.

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)

Quando substituído em uma classe derivada, fornece o cancelamento de inicialização por um provedor de serviço para a atividade.When overridden in a derived class, provides un-initialization by a service provider for the activity.

(Herdado de Activity)
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)
MethodInvoking

Ocorre antes da chamada do método.Occurs before invoking the method.

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)
IDynamicPropertyTypeProvider.GetAccessType(IServiceProvider, String)

Retorna o tipo de acesso para a propriedade especificada.Returns the access type for the specified property.

IDynamicPropertyTypeProvider.GetPropertyType(IServiceProvider, String)

Retorna o Type do da propriedade especificada.Returns the Type of the specified property.

Aplica-se a