Share via


MonitoringStateChangeEvent.BeginExecuteRecovery Method

Definition

Begins the execution of a recovery.

public:
 IAsyncResult ^ BeginExecuteRecovery(Microsoft::EnterpriseManagement::Configuration::ManagementPackRecovery ^ recovery, System::String ^ diagnosticOutput, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginExecuteRecovery (Microsoft.EnterpriseManagement.Configuration.ManagementPackRecovery recovery, string diagnosticOutput, AsyncCallback callback, object state);
member this.BeginExecuteRecovery : Microsoft.EnterpriseManagement.Configuration.ManagementPackRecovery * string * AsyncCallback * obj -> IAsyncResult
Public Function BeginExecuteRecovery (recovery As ManagementPackRecovery, diagnosticOutput As String, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

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.

Applies to