ManagementGroup.BeginExecuteMonitoringTask(ICollection<T>, MonitoringTask, TaskConfiguration, AsyncCallback, Object) ManagementGroup.BeginExecuteMonitoringTask(ICollection<T>, MonitoringTask, TaskConfiguration, AsyncCallback, Object) ManagementGroup.BeginExecuteMonitoringTask(ICollection<T>, MonitoringTask, TaskConfiguration, AsyncCallback, Object) ManagementGroup.BeginExecuteMonitoringTask(ICollection<T>, MonitoringTask, TaskConfiguration, AsyncCallback, Object) Method

Definition

Warning

This API is now obsolete.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject IAsyncResult ^ BeginExecuteMonitoringTask(System::Collections::Generic::ICollection<T> ^ targets, Microsoft::EnterpriseManagement::Runtime::MonitoringTask ^ task, Microsoft::EnterpriseManagement::Runtime::TaskConfiguration ^ configuration, AsyncCallback ^ callback, System::Object ^ state);
[System.Obsolete("Please use TaskRuntime.BeginExecuteMonitoringTask<T>()")]
public IAsyncResult BeginExecuteMonitoringTask<T> (System.Collections.Generic.ICollection<T> targets, Microsoft.EnterpriseManagement.Runtime.MonitoringTask task, Microsoft.EnterpriseManagement.Runtime.TaskConfiguration configuration, AsyncCallback callback, object state) where T : Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject;
member this.BeginExecuteMonitoringTask : System.Collections.Generic.ICollection<'T (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)> * Microsoft.EnterpriseManagement.Runtime.MonitoringTask * Microsoft.EnterpriseManagement.Runtime.TaskConfiguration * AsyncCallback * obj -> IAsyncResult (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject)
Public Function BeginExecuteMonitoringTask(Of T As PartialMonitoringObject) (targets As ICollection(Of T), task As MonitoringTask, configuration As TaskConfiguration, callback As AsyncCallback, state As Object) As IAsyncResult

Type Parameters

T

Parameters

targets
ICollection<T>

Returns

Applies to