System.Threading.SynchronizationContext Members

The members of System.Threading.SynchronizationContext are listed below.

See Also: Inherited members from System.Object

Public Constructors

Creates a new instance of the System.Threading.SynchronizationContext class.

Public Properties

[read-only]
static
CurrentSynchronizationContext.

Gets the synchronization context for the current thread.

Public Methods

CreateCopy() : SynchronizationContext

When overridden in a derived class, creates a copy of the synchronization context.

IsWaitNotificationRequired() : bool

Determines if wait notification is required.

OperationCompleted()

When overridden in a derived class, responds to the notification that an operation has completed.

OperationStarted()

When overridden in a derived class, responds to the notification that an operation has started.

Post(SendOrPostCallback, object)

When overridden in a derived class, dispatches an asynchronous message to a synchronization context.

Send(SendOrPostCallback, object)

When overridden in a derived class, dispatches a synchronous message to a synchronization context.

static
SetSynchronizationContext(SynchronizationContext)

Sets the current synchronization context.

Wait(IntPtr[], bool, int) : int

Waits for any or all the elements in the specified array to receive a signal.

Protected Methods

SetWaitNotificationRequired()

Sets notification that wait notification is required and prepares the callback method so it can be called more reliably when a wait occurs.

static
WaitHelper(IntPtr[], bool, int) : int

Helper function that waits for any or all the elements in the specified array to receive a signal.