แก้ไข

แชร์ผ่าน


WorkflowInstance.SynchronizationContext Property

Definition

Gets or sets the SynchronizationContext used for scheduling the workflow instance.

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

Property Value

The synchronization context used for scheduling the workflow instance.

Remarks

If this property is set after the workflow instance is initialized and IsReadOnly returns true, an InvalidOperationException is thrown.

Applies to