PartialMonitoringObject.EndExecuteMonitoringTask Method (IAsyncResult)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Ends the execution of a task.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Use ManagementGroup.TaskRuntime.EndExecuteTask")]
public ReadOnlyCollection<MonitoringTaskResult> EndExecuteMonitoringTask(
IAsyncResult asyncResult
)
public:
[ObsoleteAttribute("Use ManagementGroup.TaskRuntime.EndExecuteTask")]
ReadOnlyCollection<MonitoringTaskResult^>^ EndExecuteMonitoringTask(
IAsyncResult^ asyncResult
)
[<ObsoleteAttribute("Use ManagementGroup.TaskRuntime.EndExecuteTask")>]
member EndExecuteMonitoringTask :
asyncResult:IAsyncResult -> ReadOnlyCollection<MonitoringTaskResult>
<ObsoleteAttribute("Use ManagementGroup.TaskRuntime.EndExecuteTask")>
Public Function EndExecuteMonitoringTask (
asyncResult As IAsyncResult
) As ReadOnlyCollection(Of MonitoringTaskResult)
Parameters
asyncResult
Type: System.IAsyncResultThe IAsyncResult object that was returned from the M:Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject.BeginExecuteMonitoringTask(Microsoft.EnterpriseManagement.Configuration.MonitoringTask,Microsoft.EnterpriseManagement.Configuration.MonitoringTaskConfiguration,System.AsyncCallback,System.Object) method.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringTaskResult>
Returns a ReadOnlyCollection<T> of objects that contain the result of the task execution.
See Also
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace
Return to top