WorkflowApplication.InstanceStore Özellik

Tanım

İş akışı uygulamasının geçerli örneğinin kalıcı durumuna erişim sağlayan bir nesne alır veya ayarlar.

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

Özellik Değeri

Örnek deposu.

Örnekler

Aşağıdaki örnek bir WorkflowApplication örneği oluşturur ve kullanarak öğesini InstanceStoreSqlWorkflowInstanceStoreyapılandırmaktadır. Bu kod örneği, Hows: Getting Started Tutorial [.NET Framework 4.5] kapsamındaki Uzun Süre Çalışan İş Akışı Oluşturma ve Çalıştırma bir parçasıdır.

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

WorkflowApplication wfApp = new WorkflowApplication(wf);

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

Şunlara uygulanır