ITaskRuntimeManagement.EndExecuteTask(IAsyncResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.