Open sandboxFocus

Method GetDispatcherForSynchronizationContext

GetDispatcherForSynchronizationContext(SynchronizationContext)

Gets an implementation of the IDispatcher interface for a given SynchronizationContext.

Declaration
public static IDispatcher GetDispatcherForSynchronizationContext(SynchronizationContext synchronizationContext)
Parameters
Type Name Description
SynchronizationContext synchronizationContext

A SynchronizationContext.

Returns
Type Description
IDispatcher

An implementation of IDispatcher that dispatches using synchronizationContext.