ITaskRuntimeManagement.EndExecuteTask(IAsyncResult) Method

Definition

Finishes task execution.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Runtime::TaskResult ^> ^ EndExecuteTask(IAsyncResult ^ result);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Runtime.TaskResult> EndExecuteTask (IAsyncResult result);
abstract member EndExecuteTask : IAsyncResult -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Runtime.TaskResult>
Public Function EndExecuteTask (result As IAsyncResult) As IList(Of TaskResult)

Parameters

result
IAsyncResult

The result of the task execution.

Returns

IList<TaskResult>

The task results.

Exceptions

asyncResult is null

asyncResult was not from this instance of ManagementGroup or from an incompatible Begin method or was already processed

There was an error processing results on the server.

Applies to