DurableTimerExtension.SetInstance(WorkflowInstanceProxy) 메서드

정의

지정한 워크플로 인스턴스를 현재 인스턴스로 설정합니다.

public:
 virtual void SetInstance(System::Activities::Hosting::WorkflowInstanceProxy ^ instance);
public virtual void SetInstance (System.Activities.Hosting.WorkflowInstanceProxy instance);
abstract member SetInstance : System.Activities.Hosting.WorkflowInstanceProxy -> unit
override this.SetInstance : System.Activities.Hosting.WorkflowInstanceProxy -> unit
Public Overridable Sub SetInstance (instance As WorkflowInstanceProxy)

매개 변수

instance
WorkflowInstanceProxy

현재 인스턴스로 만들 워크플로 인스턴스입니다.

구현

설명

DurableTimerExtension 개체만 단일 워크플로 인스턴스와 연결할 수 있습니다. 경우는 DurableTimerExtension 둘 이상의 워크플로 인스턴스를 사용 하 여 개체를 사용 하는 InvalidOperationException 다음 메시지와 함께 throw 됩니다.

This TimerExtension has already been attached to a workflow instance.  

적용 대상