DispatcherSynchronizationContext Class
Provides a synchronization context for Windows Presentation Foundation (WPF).
Assembly: WindowsBase (in WindowsBase.dll)
System.Threading::SynchronizationContext
System.Windows.Threading::DispatcherSynchronizationContext
| 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. |
![]() | DispatcherSynchronizationContext(Dispatcher^, DispatcherPriority) | 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.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | IsWaitNotificationRequired() | Determines if wait notification is required.(Inherited from SynchronizationContext.) |
![]() | 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(SendOrPostCallback^, Object^) | Invokes the callback in the synchronization context asynchronously. (Overrides SynchronizationContext::Post(SendOrPostCallback^, Object^).) |
![]() | Send(SendOrPostCallback^, Object^) | Invokes the callback in the synchronization context synchronously.(Overrides SynchronizationContext::Send(SendOrPostCallback^, Object^).) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | Wait(array<IntPtr>^, Boolean, Int32) | 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.
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
