PipeOptions.UseSynchronizationContext Propriedade

Definição

Obtém um valor que determina se as continuações e os retornos de chamada assíncronos devem ser executados no SynchronizationContext em que foram capturados.Gets a value that determines if asynchronous callbacks and continuations should be executed on the SynchronizationContext they were captured on. Isso tem precedência sobre os agendadores especificados em ReaderScheduler e WriterScheduler.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

Valor da propriedade

Boolean

true Se os retornos de chamada e as continuações assíncronas devem ser executados em SynchronizationContext que foram capturados; caso contrário, false .true if asynchronous callbacks and continuations should be executed on the SynchronizationContext they were captured on; otherwise, false.

Aplica-se a