SnapInBase.BeginInvoke Method (Delegate)


Executes the specified delegate asynchronously on the thread that the snap-in was created on.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)


public IAsyncResult BeginInvoke(
    Delegate method
IAsyncResult^ BeginInvoke(
    Delegate^ method
member BeginInvoke : 
        method:Delegate -> IAsyncResult
Public Function BeginInvoke (
    method As Delegate
) As IAsyncResult


  • method
    Type: System.Delegate

    A delegate to a method that uses no parameters.

Return Value

Type: System.IAsyncResult

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.

See Also

BeginInvoke Overload
SnapInBase Class
Microsoft.ManagementConsole Namespace

Return to top