Partager via


CancellableTaskStatusQuery.EndGetStatus Method (IAsyncResult)

 

Waits for the completion of the asynchronous query and returns the result.

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

Syntax

public TaskQuickStatus EndGetStatus(
    IAsyncResult result
)
public:
virtual TaskQuickStatus^ EndGetStatus(
    IAsyncResult^ result
) sealed
Public Function EndGetStatus (
    result As IAsyncResult
) As TaskQuickStatus

Parameters

Return Value

Type: Microsoft.WindowsServerSolutions.Dashboard.Addins.Home.TaskQuickStatus

A TaskQuickStatus. If this value is null, the method has failed, and the status may be displayed as N/A.

Implements

ITaskStatusQuery.EndGetStatus(IAsyncResult)

Remarks

This method can only be invoked after the BeginGetStatus is called, and it must be invoked normally. This method is not invoked if CancelGetStatus is invoked first. The method should throw an exception if it is invoked improperly, and this method is blocking until the query process completes.

See Also

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

Return to top