Share via


MonitoringStateChangeEvent.BeginExecuteDiagnostic Method

Definition

Begins the execution of a diagnostic.

public:
 IAsyncResult ^ BeginExecuteDiagnostic(Microsoft::EnterpriseManagement::Configuration::ManagementPackDiagnostic ^ diagnostic, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginExecuteDiagnostic (Microsoft.EnterpriseManagement.Configuration.ManagementPackDiagnostic diagnostic, AsyncCallback callback, object state);
member this.BeginExecuteDiagnostic : Microsoft.EnterpriseManagement.Configuration.ManagementPackDiagnostic * AsyncCallback * obj -> IAsyncResult
Public Function BeginExecuteDiagnostic (diagnostic As ManagementPackDiagnostic, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

callback
AsyncCallback

The callback to get notified on when the diagnostic completes.

state
Object

The optional state to pass back to the callback.

Returns

An IAsyncResult object.

Applies to