WorkflowApplication.InstanceStore 속성

정의

워크플로 애플리케이션의 현재 인스턴스의 지속형 상태에 대한 액세스를 제공하는 개체를 가져오거나 설정합니다.

public:
 property System::Runtime::DurableInstancing::InstanceStore ^ InstanceStore { System::Runtime::DurableInstancing::InstanceStore ^ get(); void set(System::Runtime::DurableInstancing::InstanceStore ^ value); };
public System.Runtime.DurableInstancing.InstanceStore InstanceStore { get; set; }
member this.InstanceStore : System.Runtime.DurableInstancing.InstanceStore with get, set
Public Property InstanceStore As InstanceStore

속성 값

인스턴스 저장소입니다.

예제

다음 예제에서는 WorkflowApplication 인스턴스를 만든 다음 using을 SqlWorkflowInstanceStore구성합니다InstanceStore. 이 코드 예제는 방법: 장기 실행 워크플로 만들기 및 실행의 일부입니다. 이 워크플로는 Getting Started Tutorial [.NET Framework 4.5]의 일부입니다.

Activity wf = new WriteLine
{
    Text = "Hello world."
};

WorkflowApplication wfApp = new WorkflowApplication(wf);

Console.WriteLine("Id: {0}", wfApp.Id);

적용 대상