CancellableTaskStatusQuery.BeginGetStatus Method (AsyncCallback, Object)
Starts the status query asynchronously for a cancellable task.
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.AsyncCallbackA reference to the callback function that is invoked for notification when the status query is complete.
state
Type: System.ObjectA reference to the state of the caller of this method.
Return Value
Type: System.IAsyncResult
An IAsyncResult.
Implements
ITaskStatusQuery.BeginGetStatus(AsyncCallback, Object)
Remarks
The method must return within a limited timeframe, or else the operation is forcefully terminated, and the status is shown as N/A.
See Also
CancellableTaskStatusQuery Class
Microsoft.WindowsServerSolutions.Dashboard.Addins.Home Namespace
Return to top