CancellableTaskStatusQuery.CancelGetStatus Method (IAsyncResult)
Cancels the asynchronous querying process.
Namespace: Microsoft.WindowsServerSolutions.Dashboard.Addins.Home
Assembly: HomeAddinContract (in HomeAddinContract.dll)
Syntax
public void CancelGetStatus(
IAsyncResult result
)
public:
virtual void CancelGetStatus(
IAsyncResult^ result
) sealed
Public Sub CancelGetStatus (
result As IAsyncResult
)
Parameters
result
Type: System.IAsyncResultA reference to the asynchronous result.
Implements
ITaskStatusQuery.CancelGetStatus(IAsyncResult)
Remarks
This method must ensure that the querying process is completed or canceled before returning, because EndGetStatus does not get invoked. If the querying process is already completed when this method is invoked, it should dispose of all relevant resources (just like EndGetStatus) and return immediately.
See Also
CancellableTaskStatusQuery Class
Microsoft.WindowsServerSolutions.Dashboard.Addins.Home Namespace
Return to top