Share via


MonitoringTaskStatusChangeCallback Delegate

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

The delegate for handling task status change notifications (per batch).

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

Usage

'Usage
Dim instance As New MonitoringTaskStatusChangeCallback(AddressOf HandlerMethod)

Syntax

'Declaration
<ObsoleteAttribute("Use TaskStatusChangeCallback")> _
Public Delegate Sub MonitoringTaskStatusChangeCallback ( _
    batchId As Guid, _
    results As ReadOnlyCollection(Of MonitoringTaskResult), _
    completed As Boolean _
)
[ObsoleteAttribute("Use TaskStatusChangeCallback")] 
public delegate void MonitoringTaskStatusChangeCallback (
    Guid batchId,
    ReadOnlyCollection<MonitoringTaskResult> results,
    bool completed
)
[ObsoleteAttribute(L"Use TaskStatusChangeCallback")] 
public delegate void MonitoringTaskStatusChangeCallback (
    Guid batchId, 
    ReadOnlyCollection<MonitoringTaskResult^>^ results, 
    bool completed
)
/** @delegate */
/** @attribute ObsoleteAttribute("Use TaskStatusChangeCallback") */ 
public delegate void MonitoringTaskStatusChangeCallback (
    Guid batchId, 
    ReadOnlyCollection<MonitoringTaskResult> results, 
    boolean completed
)

Parameters

  • batchId
    The batch identifier of the current notification.
  • results
    The results of the change.
  • completed
    Determines whether this is the last update for the batch.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

Microsoft.EnterpriseManagement.Monitoring Namespace