Share via


MonitoringStateChangeEvent.BeginExecuteMonitoringRecovery Method

Definition

Caution

Use this.BeginExecuteRecovery()

Begins the execution of a recovery.

public:
 IAsyncResult ^ BeginExecuteMonitoringRecovery(Microsoft::EnterpriseManagement::Configuration::MonitoringRecovery ^ monitoringRecovery, System::String ^ diagnosticOutput, AsyncCallback ^ callback, System::Object ^ state);
[System.Obsolete("Use this.BeginExecuteRecovery()")]
public IAsyncResult BeginExecuteMonitoringRecovery (Microsoft.EnterpriseManagement.Configuration.MonitoringRecovery monitoringRecovery, string diagnosticOutput, AsyncCallback callback, object state);
member this.BeginExecuteMonitoringRecovery : Microsoft.EnterpriseManagement.Configuration.MonitoringRecovery * string * AsyncCallback * obj -> IAsyncResult
Public Function BeginExecuteMonitoringRecovery (monitoringRecovery As MonitoringRecovery, diagnosticOutput As String, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

monitoringRecovery
MonitoringRecovery

The MonitoringRecovery to submit.

diagnosticOutput
String

The output from the associated diagnostic required to run the recovery.

callback
AsyncCallback

The callback to get notified on when the recovery completes.

state
Object

The optional state to pass back to the callback.

Returns

An IAsyncResult object.

Attributes

Applies to