MonitoringStateChangeEvent.BeginExecuteMonitoringDiagnostic 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.
Caution
Use this.BeginExecuteDiagnostic()
Begins the execution of a diagnostic.
public:
IAsyncResult ^ BeginExecuteMonitoringDiagnostic(Microsoft::EnterpriseManagement::Configuration::MonitoringDiagnostic ^ monitoringDiagnostic, AsyncCallback ^ callback, System::Object ^ state);
[System.Obsolete("Use this.BeginExecuteDiagnostic()")]
public IAsyncResult BeginExecuteMonitoringDiagnostic (Microsoft.EnterpriseManagement.Configuration.MonitoringDiagnostic monitoringDiagnostic, AsyncCallback callback, object state);
member this.BeginExecuteMonitoringDiagnostic : Microsoft.EnterpriseManagement.Configuration.MonitoringDiagnostic * AsyncCallback * obj -> IAsyncResult
Public Function BeginExecuteMonitoringDiagnostic (monitoringDiagnostic As MonitoringDiagnostic, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- monitoringDiagnostic
- MonitoringDiagnostic
The MonitoringDiagnostic to submit.
- 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.
- Attributes