PartialMonitoringObject::BeginExecuteMonitoringTask Method (MonitoringTask^, TaskConfiguration^, AsyncCallback^, Object^)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.Namespace:
Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Return to top
Asynchronously begins the execution of a task.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: [ObsoleteAttribute("Use ManagementGroup.TaskRuntime.BeginExecuteTask methods that take this object")] IAsyncResult^ BeginExecuteMonitoringTask( MonitoringTask^ task, TaskConfiguration^ configuration, AsyncCallback^ callback, Object^ state )
Parameters
- task
-
Type:
Microsoft.EnterpriseManagement.Runtime::MonitoringTask^
The task to execute.
- configuration
-
Type:
Microsoft.EnterpriseManagement.Runtime::TaskConfiguration^
Configuration settings for the task.
- callback
-
Type:
System::AsyncCallback^
The callback method that gets called when the task finishes.
- state
-
Type:
System::Object^
The optional state to pass to the callback method.
Show: