次の方法で共有


MonitoringTaskStatusChangeCallback Delegate

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

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

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

Syntax

[ObsoleteAttribute("Use TaskStatusChangeCallback")]
public delegate void MonitoringTaskStatusChangeCallback(
    Guid batchId,
    ReadOnlyCollection<MonitoringTaskResult> results,
    bool completed
)
[ObsoleteAttribute("Use TaskStatusChangeCallback")]
public delegate void MonitoringTaskStatusChangeCallback(
    Guid batchId,
    ReadOnlyCollection<MonitoringTaskResult^>^ results,
    bool completed
)
[<ObsoleteAttribute("Use TaskStatusChangeCallback")>]
type MonitoringTaskStatusChangeCallback = 
    delegate of 
        batchId:Guid *
        results:ReadOnlyCollection<MonitoringTaskResult> *
        completed:bool -> unit
<ObsoleteAttribute("Use TaskStatusChangeCallback")>
Public Delegate Sub MonitoringTaskStatusChangeCallback (
    batchId As Guid,
    results As ReadOnlyCollection(Of MonitoringTaskResult),
    completed As Boolean
)

Parameters

  • batchId
    Type: System.Guid

    The batch identifier of the current notification.

  • completed
    Type: System.Boolean

    Determines whether this is the last update for the batch.

See Also

Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top