WorkflowApplication.InstanceStore 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
워크플로 애플리케이션의 현재 인스턴스의 지속형 상태에 대한 액세스를 제공하는 개체를 가져오거나 설정합니다.
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);