GetDispatcherForWindowsDispatcher(object)
Gets an implementation of the IDispatcher interface for a given
instance of the System.Windows.Threading.Dispatcher
class.
Declaration
public static IDispatcher GetDispatcherForWindowsDispatcher(object dispatcher)
Parameters
Type | Name | Description |
---|---|---|
object | dispatcher | An instance of the |
Returns
Type | Description |
---|---|
IDispatcher | An implementation of IDispatcher wrapping the functionality of |
Remarks
Throws PlatformNotSupportedException on platforms that don't support WPF.