Compartir a través de


ReportProgress Delegate

Serves as a delegate that reports progress during multi-instance operations in Configuration Manager 2007.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As New ReportProgress(AddressOf HandlerMethod)

Syntax

'Declaration
Public Delegate Function ReportProgress ( _
    totalWork As Integer, _
    workCompleted As Integer _
) As Boolean
public delegate bool ReportProgress (
    int totalWork,
    int workCompleted
)
public delegate bool ReportProgress (
    int totalWork, 
    int workCompleted
)
/** @delegate */
public delegate boolean ReportProgress (
    int totalWork, 
    int workCompleted
)

Parameters

  • totalWork
    [in] Total work.
  • workCompleted
    [in] Work completed.

Return Value

true if progress is measured; otherwise false.

Remarks

This delegate is used by IResultObject and ResultObjectsManager to report progress during certain operations, for example, retrieval operations.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

Microsoft.ConfigurationManagement.ManagementProvider Namespace
IResultObject Interface
:Microsoft.ConfigurationManagement.ManagementProvider.ResultObjectsManager