Edit

Bagikan melalui


PipeOptions.UseSynchronizationContext Property

Definition

Gets a value that determines if asynchronous callbacks and continuations should be executed on the SynchronizationContext they were captured on. This takes precedence over the schedulers specified in ReaderScheduler and WriterScheduler.

public:
 property bool UseSynchronizationContext { bool get(); };
public bool UseSynchronizationContext { get; }
member this.UseSynchronizationContext : bool
Public ReadOnly Property UseSynchronizationContext As Boolean

Property Value

true if asynchronous callbacks and continuations should be executed on the SynchronizationContext they were captured on; otherwise, false.

Applies to