HandleExternalEventActivity.InterfaceType 속성

정의

이벤트를 처리하는 로컬 서비스의 ExternalDataExchangeAttribute 특성이 지정된 인터페이스 형식을 가져오거나 설정합니다. 이 속성을 설정해야 로컬 통신이 이루어집니다.

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

속성 값

이벤트를 처리하는 서비스의 인터페이스 형식입니다.

특성

예제

다음 코드 예제에서는 HandleExternalEventActivity 클래스에 대한 값을 만들고 설정하는 방법을 보여 줍니다. 이 코드 예제는 DocumentApprovalWorkflow.cs 파일에 있는 RaiseEventToLoadWorkflow SDK 샘플의 일부입니다. 자세한 내용은 부하에 이벤트를 발생 시킬 워크플로합니다.

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

적용 대상

추가 정보