HandleExternalEventActivity.InterfaceType Propriedade

Definição

Obtém ou define o tipo de interface atribuído ExternalDataExchangeAttribute do serviço local cujo evento é manipulado.Gets or sets the ExternalDataExchangeAttribute attributed interface type of the local service whose event is handled. Essa propriedade deve ser definida antes que a comunicação local possa ocorrer.This property must be set before local communication can occur.

public:
 virtual property Type ^ InterfaceType { Type ^ get(); void set(Type ^ value); };
[System.Workflow.ComponentModel.Design.TypeFilterProvider(typeof(System.Workflow.Activities.ExternalDataExchangeInterfaceTypeFilterProvider))]
public virtual Type InterfaceType { get; set; }
[<System.Workflow.ComponentModel.Design.TypeFilterProvider(typeof(System.Workflow.Activities.ExternalDataExchangeInterfaceTypeFilterProvider))>]
member this.InterfaceType : Type with get, set
Public Overridable Property InterfaceType As Type

Valor da propriedade

Type

O tipo de interface do serviço local cujo evento é tratado.The interface type of the local service whose event is handled.

Atributos

Exemplos

O exemplo de código a seguir mostra como criar e definir valores para a HandleExternalEventActivity classe.The following code example shows how to create and set values for the HandleExternalEventActivity class. Este exemplo de código faz parte do exemplo do SDK do RaiseEventToLoadWorkflow do arquivo DocumentApprovalWorkflow. cs.This code example is part of the RaiseEventToLoadWorkflow SDK sample from the DocumentApprovalWorkflow.cs file. Para obter mais informações, consulte gerar evento para carregar o fluxo de trabalho.For more information, see Raise Event To Load Workflow.

this.Car.Name = "Car";
this.Car.ExecuteCode += new System.EventHandler(this.Car_ExecuteCode);
this.Car.SetValue(System.Workflow.Activities.ConditionedActivityGroup.WhenConditionProperty, codecondition1);
codecondition2.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this.AirlineCondition);
Me.Car.Name = "Car"
AddHandler Car.ExecuteCode, AddressOf Me.Car_ExecuteCode
Me.Car.SetValue(System.Workflow.Activities.ConditionedActivityGroup.WhenConditionProperty, codecondition1)
AddHandler codecondition2.Condition, AddressOf Me.AirlineCondition

Aplica-se a