次の方法で共有


AemTaskStatusCallback Delegate

 

Applies To: Operations Manager for System Center 2012

A delegate used for a callback method that gets called when the status of a task changes.

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

Syntax

public delegate void AemTaskStatusCallback(
    bool result,
    string sdkErrorMessage,
    string taskOutput
)
public delegate void AemTaskStatusCallback(
    bool result,
    String^ sdkErrorMessage,
    String^ taskOutput
)
type AemTaskStatusCallback = 
    delegate of 
        result:bool *
        sdkErrorMessage:string *
        taskOutput:string -> unit
Public Delegate Sub AemTaskStatusCallback (
    result As Boolean,
    sdkErrorMessage As String,
    taskOutput As String
)

Parameters

  • result
    Type: System.Boolean

    A Boolean value that determines whether the task succeeded or not. This value is true if the task succeeded and false if the task failed.

  • output
    If the task failed, then this parameter contains output information about the failure.

See Also

Microsoft.EnterpriseManagement.Monitoring.ClientMonitoring Namespace

Return to top