Share via


IBackgroundDispatcher.BeginInvoke Method

Definition

Works the same as BeginInvoke would for any other delegate, except that it also manages system state correctly.

public:
 IAsyncResult ^ BeginInvoke(System::Threading::WaitCallback ^ callback, System::Object ^ state, AsyncCallback ^ completionCallback, System::Object ^ asyncState);
public IAsyncResult BeginInvoke (System.Threading.WaitCallback callback, object state, AsyncCallback completionCallback, object asyncState);
abstract member BeginInvoke : System.Threading.WaitCallback * obj * AsyncCallback * obj -> IAsyncResult
Public Function BeginInvoke (callback As WaitCallback, state As Object, completionCallback As AsyncCallback, asyncState As Object) As IAsyncResult

Parameters

callback
WaitCallback
state
Object
completionCallback
AsyncCallback
asyncState
Object

Returns

Applies to