IDispatcher |
public interface IDispatcherMessageLoop : ISynchronizeInvoke
The IDispatcherMessageLoop type exposes the following members.
Name | Description | |
---|---|---|
InvokeRequired | Gets a value indicating whether the caller must call Invoke(Delegate, Object) when calling an object that implements this interface. (Inherited from ISynchronizeInvoke) | |
SynchronizationContext | Gets the synchronization context corresponding to this message loop. | |
SynchronizingObject | Gets the ISynchronizeInvoke implementation corresponding to this message loop. | |
Thread | Gets the thread that runs this message loop. |
Name | Description | |
---|---|---|
BeginInvoke | Asynchronously executes the delegate on the thread that created this object. (Inherited from ISynchronizeInvoke) | |
CheckAccess | Gets whether the current thread is the same as the thread running this message loop. | |
EndInvoke | Waits until the process started by calling BeginInvoke(Delegate, Object) completes, and then returns the value generated by the process. (Inherited from ISynchronizeInvoke) | |
Invoke | Synchronously executes the delegate on the thread that created this object and marshals the call to the creating thread. (Inherited from ISynchronizeInvoke) | |
InvokeAndForget(Action) | Invokes the specified callback on the message loop. | |
InvokeAndForgetT(ActionT, T) | Executes an action synchronously with the Gui without waiting. | |
InvokeAndForgetT1, T2(ActionT1, T2, T1, T2) | Executes an action synchronously with the Gui without waiting. | |
InvokeAndForgetT1, T2, T3(ActionT1, T2, T3, T1, T2, T3) | Executes an action synchronously with the Gui without waiting. | |
InvokeAndForgetT1, T2, T3, T4(ActionT1, T2, T3, T4, T1, T2, T3, T4) | Executes an action synchronously with the Gui without waiting. | |
InvokeAndForgetT1, T2, T3, T4, T5(ActionT1, T2, T3, T4, T5, T1, T2, T3, T4, T5) | Executes an action synchronously with the Gui without waiting. | |
InvokeAsync(Action) | Invokes the specified callback on the message loop. | |
InvokeAsyncT(FuncT) | ||
InvokeIfRequired(Action) | Invokes the specified callback on the message loop and waits for its completion. If the current thread is the thread running the message loop, executes the callback directly without pumping the message loop. | |
InvokeIfRequiredT(FuncT) | Invokes the specified callback, waits for its completion, and returns the result. If the current thread is the thread running the message loop, executes the callback directly without pumping the message loop. | |
InvokeIfRequiredT(ActionT, T) | Executes an action synchronously with the GUI. | |
InvokeIfRequiredT, TResult(FuncT, TResult, T) | Evaluates a function synchronously with the Gui. | |
InvokeIfRequiredT1, T2(ActionT1, T2, T1, T2) | Executes an action synchronously with the GUI. | |
InvokeIfRequiredT1, T2, TResult(FuncT1, T2, TResult, T1, T2) | ||
InvokeIfRequiredT1, T2, T3(ActionT1, T2, T3, T1, T2, T3) | Executes an action synchronously with the GUI. | |
InvokeIfRequiredT1, T2, T3, TResult(FuncT1, T2, T3, TResult, T1, T2, T3) | ||
InvokeIfRequiredT1, T2, T3, T4(ActionT1, T2, T3, T4, T1, T2, T3, T4) | Executes an action synchronously with the GUI. | |
InvokeIfRequiredT1, T2, T3, T4, TResult(FuncT1, T2, T3, T4, TResult, T1, T2, T3, T4) | ||
InvokeIfRequiredT1, T2, T3, T4, T5(ActionT1, T2, T3, T4, T5, T1, T2, T3, T4, T5) | Executes an action synchronously with the Gui. | |
InvokeIfRequiredT1, T2, T3, T4, T5, TResult(FuncT1, T2, T3, T4, T5, TResult, T1, T2, T3, T4, T5) | ||
InvokeIfRequiredT1, T2, T3, T4, T5, T6, TResult(FuncT1, T2, T3, T4, T5, T6, TResult, T1, T2, T3, T4, T5, T6) | ||
InvokeIfRequiredT1, T2, T3, T4, T5, T6, T7, TResult(FuncT1, T2, T3, T4, T5, T6, T7, TResult, T1, T2, T3, T4, T5, T6, T7) | ||
InvokeLaterAndForget | Waits delay, then executes method on the message loop thread. | |
VerifyAccess | Throws an exception if the current thread is different from the thread running this message loop. |