Dispatcher::Invoke Method (Action^, DispatcherPriority, CancellationToken, TimeSpan)
Assembly: WindowsBase (in WindowsBase.dll)
public: void Invoke( Action^ callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout )
A delegate to invoke through the dispatcher.
The priority that determines in what order the specified callback is invoked relative to the other pending operations in the Dispatcher.
An object that indicates whether to cancel the action.
The minimum amount of time to wait for the operation to start.
Available since 4.5