次の方法で共有


MonitoringStateChangeEvent.BeginExecuteMonitoringRecovery Method (MonitoringRecovery, String, AsyncCallback, Object)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Begins the asynchronous execution of a recovery.

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Use this.BeginExecuteRecovery()")]
public IAsyncResult BeginExecuteMonitoringRecovery(
    MonitoringRecovery monitoringRecovery,
    string diagnosticOutput,
    AsyncCallback callback,
    object state
)
public:
[ObsoleteAttribute("Use this.BeginExecuteRecovery()")]
IAsyncResult^ BeginExecuteMonitoringRecovery(
    MonitoringRecovery^ monitoringRecovery,
    String^ diagnosticOutput,
    AsyncCallback^ callback,
    Object^ state
)
[<ObsoleteAttribute("Use this.BeginExecuteRecovery()")>]
member BeginExecuteMonitoringRecovery : 
        monitoringRecovery:MonitoringRecovery *
        diagnosticOutput:string *
        callback:AsyncCallback *
        state:Object -> IAsyncResult
<ObsoleteAttribute("Use this.BeginExecuteRecovery()")>
Public Function BeginExecuteMonitoringRecovery (
    monitoringRecovery As MonitoringRecovery,
    diagnosticOutput As String,
    callback As AsyncCallback,
    state As Object
) As IAsyncResult

Parameters

  • diagnosticOutput
    Type: System.String

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

  • callback
    Type: System.AsyncCallback

    The callback method that gets notified when the recovery completes.

  • state
    Type: System.Object

    The optional state to pass back to the callback method.

Return Value

Type: System.IAsyncResult

Returns a IAsyncResult object.

See Also

MonitoringStateChangeEvent Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top