Udostępnij za pośrednictwem


AemTaskStatusCallback Delegate

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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)

Usage

'Usage
Dim instance As New AemTaskStatusCallback(AddressOf HandlerMethod)

Syntax

'Declaration
Public Delegate Sub AemTaskStatusCallback ( _
    result As Boolean, _
    sdkErrorMessage As String, _
    taskOutput As String _
)
public delegate void AemTaskStatusCallback (
    bool result,
    string sdkErrorMessage,
    string taskOutput
)
public delegate void AemTaskStatusCallback (
    bool result, 
    String^ sdkErrorMessage, 
    String^ taskOutput
)
/** @delegate */
public delegate void AemTaskStatusCallback (
    boolean result, 
    String sdkErrorMessage, 
    String taskOutput
)

Parameters

  • result
    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.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

Microsoft.EnterpriseManagement.Monitoring.ClientMonitoring Namespace