Export (0) Print
Expand All

SynchronizationContext Members

Provides the basic functionality for propagating a synchronization context in various synchronization models.

The following tables list the members exposed by the SynchronizationContext type.

  Name Description
Public method SynchronizationContext Creates a new instance of the SynchronizationContext class.
Top

  Name Description
Public property Static Current Gets the synchronization context for the current thread.
Top

(see also Protected Methods )
  Name Description
Public method CreateCopy When overridden in a derived class, creates a copy of the synchronization context.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IsWaitNotificationRequired Determines if wait notification is required.
Public method OperationCompleted When overridden in a derived class, responds to the notification that an operation has completed.
Public method OperationStarted When overridden in a derived class, responds to the notification that an operation has started.
Public method Post When overridden in a derived class, dispatches an asynchronous message to a synchronization context.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Send When overridden in a derived class, dispatches a synchronous message to a synchronization context.
Public method Static SetSynchronizationContext Sets the current synchronization context.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Public method Wait Waits for any or all the elements in the specified array to receive a signal.
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method SetWaitNotificationRequired Sets notification that wait notification is required and prepares the callback method so it can be called more reliably when a wait occurs.
Protected method Static WaitHelper Helper function that waits for any or all the elements in the specified array to receive a signal.
Top

Community Additions

ADD
Show:
© 2014 Microsoft