System.Threading.SynchronizationContext: Method Members

The methods of System.Threading.SynchronizationContext are listed below. For a list of all members, see the SynchronizationContext Members list.

See Also: Inherited members from System.Object

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.