SnapInBase.BeginInvoke Method (Delegate)
Executes the specified delegate asynchronously on the thread that the snap-in was created on.
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
public IAsyncResult BeginInvoke( Delegate method )
public: IAsyncResult^ BeginInvoke( Delegate^ method )
member BeginInvoke : method:Delegate -> IAsyncResult
Public Function BeginInvoke ( method As Delegate ) As IAsyncResult
A delegate to a method that uses no parameters.
Represents the asynchronous operation that was started by calling this method.
The delegate is called asynchronously, and this method returns immediately. It is possible to call this method from any thread, including the thread that the snap-in was created on.
Notes to Implementers: This method calls the specified delegate back on a different thread pool thread. You should take the precaution of not blocking the thread from a thread pool.
Return to top