Partager via


SyncTaskStatusQuery.BeginGetStatus Method (AsyncCallback, Object)

 

Starts the status query synchronously.

Namespace:   Microsoft.WindowsServerSolutions.Dashboard.Addins.Home
Assembly:  HomeAddinContract (in HomeAddinContract.dll)

Syntax

public IAsyncResult BeginGetStatus(
    AsyncCallback callback,
    object state
)
public:
virtual IAsyncResult^ BeginGetStatus(
    AsyncCallback^ callback,
    Object^ state
) sealed
Public Function BeginGetStatus (
    callback As AsyncCallback,
    state As Object
) As IAsyncResult

Parameters

  • callback
    Type: System.AsyncCallback

    A reference to the callback function that is invoked for notification when the status query is complete.

  • state
    Type: System.Object

    A reference to the state of the caller of this method.

Return Value

Type: System.IAsyncResult

An IAsyncResult.

Implements

ITaskStatusQuery.BeginGetStatus(AsyncCallback, Object)

Remarks

The return value already contains the result, so you can call EndGetStatus to process the result after this calling this method.

See Also

SyncTaskStatusQuery Class
Microsoft.WindowsServerSolutions.Dashboard.Addins.Home Namespace

Return to top