Begins the asynchronous execution of a recovery. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As MonitoringStateChangeEvent
Dim monitoringRecovery As MonitoringRecovery
Dim diagnosticOutput As String
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginExecuteMonitoringRecovery(monitoringRecovery, diagnosticOutput, callback, state)

Syntax

Visual Basic
Public Function BeginExecuteMonitoringRecovery ( _
		monitoringRecovery As MonitoringRecovery, _
		diagnosticOutput As String, _
		callback As AsyncCallback, _
		state As Object _
) As IAsyncResult
C#
public IAsyncResult BeginExecuteMonitoringRecovery (
		MonitoringRecovery monitoringRecovery,
		string diagnosticOutput,
		AsyncCallback callback,
		Object state
)
C++
public:
IAsyncResult^ BeginExecuteMonitoringRecovery (
		MonitoringRecovery^ monitoringRecovery, 
		String^ diagnosticOutput, 
		AsyncCallback^ callback, 
		Object^ state
)
J#
public IAsyncResult BeginExecuteMonitoringRecovery (
		MonitoringRecovery monitoringRecovery, 
		String diagnosticOutput, 
		AsyncCallback callback, 
		Object state
)
JScript
public function BeginExecuteMonitoringRecovery (
		monitoringRecovery : MonitoringRecovery, 
		diagnosticOutput : String, 
		callback : AsyncCallback, 
		state : Object
) : IAsyncResult

Parameters

monitoringRecovery

The monitoring recovery to submit.

diagnosticOutput

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

callback

The callback method that gets notified when the recovery completes.

state

The optional state to pass back to the callback method.

Return Value

Returns an IAsyncResult object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also