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.  

적용 대상