This documentation is archived and is not being maintained.
DispatcherSynchronizationContext Class
Visual Studio 2010
Provides a synchronization context for Windows Presentation Foundation (WPF).
System::Object
System.Threading::SynchronizationContext
System.Windows.Threading::DispatcherSynchronizationContext
System.Threading::SynchronizationContext
System.Windows.Threading::DispatcherSynchronizationContext
Assembly: WindowsBase (in WindowsBase.dll)
XMLNS for XAML: Not mapped to an xmlns.
The DispatcherSynchronizationContext type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DispatcherSynchronizationContext() | Initializes a new instance of the DispatcherSynchronizationContext class by using the current Dispatcher. |
![]() | DispatcherSynchronizationContext(Dispatcher) | Initializes a new instance of the DispatcherSynchronizationContext class by using the specified Dispatcher. |
| Name | Description | |
|---|---|---|
![]() | CreateCopy | Creates a copy of this DispatcherSynchronizationContext. (Overrides SynchronizationContext::CreateCopy().) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsWaitNotificationRequired | Determines if wait notification is required. (Inherited from SynchronizationContext.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OperationCompleted | When overridden in a derived class, responds to the notification that an operation has completed. (Inherited from SynchronizationContext.) |
![]() | OperationStarted | When overridden in a derived class, responds to the notification that an operation has started. (Inherited from SynchronizationContext.) |
![]() | Post | Invokes the callback in the synchronization context asynchronously. (Overrides SynchronizationContext::Post(SendOrPostCallback, Object).) |
![]() | Send | Invokes the callback in the synchronization context synchronously. (Overrides SynchronizationContext::Send(SendOrPostCallback, Object).) |
![]() | SetWaitNotificationRequired | Sets notification that wait notification is required and prepares the callback method so it can be called more reliably when a wait occurs. (Inherited from SynchronizationContext.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Wait | Waits for any or all the elements in the specified array to receive a signal. (Overrides SynchronizationContext::Wait(array<IntPtr>, Boolean, Int32).) |
If a Dispatcher is not specified at the creation of the DispatcherSynchronizationContext instance, the current Dispatcher is associated with the DispatcherSynchronizationContext.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
