Parameters
- method
- The method to execute.
- args
- The arguments for method.
Return Value
An object, which is returned immediately after System.Windows.Threading.Dispatcher.BeginInvoke(System.Delegate,System.Object[]) is called, that can be used to interact with the delegate as it is pending execution in the event queue.