Click or drag to resize

SyncContext Properties

The SyncContext type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberClearAsync
await this singleton to clear the current synchronization context for the scope of the current method. The original context will be restored when the method returns.
Public propertyIsCompleted
INTERNAL USE ONLY: Do not call this directly.
Public propertyStatic memberIsDisabled

Optionally disables context resetting globally. This provides an escape hatch for situations where an application needs to revert back to the default synchronization context behavior. This turns await SyncContext.ClearAsync calls into a NOP.

Note Note
Most applications should never need to set this.
Top
See Also