Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
Visual Basic |
---|
Dim instance As New ReportProgress(AddressOf HandlerMethod) |
Syntax
Visual Basic |
---|
Public Delegate Function ReportProgress ( _ totalWork As Integer, _ workCompleted As Integer _ ) As Boolean |
C# |
---|
public delegate bool ReportProgress ( int totalWork, int workCompleted ) |
C++ |
---|
public delegate bool ReportProgress ( int totalWork, int workCompleted ) |
J# |
---|
/** @delegate */ public delegate boolean ReportProgress ( int totalWork, int workCompleted ) |
JScript |
---|
|
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 VistaTarget Platforms
Windows Server 2003,Windows VistaSee Also
Reference
Microsoft.ConfigurationManagement.ManagementProvider NamespaceIResultObject Interface
:Microsoft.ConfigurationManagement.ManagementProvider.ResultObjectsManager