共用方式為


SmsBackgroundWorker.ReportProgress Method

Reports progress on a background operation. This method supports the Configuration Manager infrastructure and is not intended to be used directly from your code.

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

Usage

'Usage
Dim instance As SmsBackgroundWorker
Dim percentProgress As Integer
Dim userData As Object

instance.ReportProgress(percentProgress, userData)

Syntax

'Declaration
<DebuggerStepThroughAttribute> _
Public Sub ReportProgress ( _
    percentProgress As Integer, _
    userData As Object _
)
[DebuggerStepThroughAttribute] 
public void ReportProgress (
    int percentProgress,
    Object userData
)
[DebuggerStepThroughAttribute] 
public:
void ReportProgress (
    int percentProgress, 
    Object^ userData
)
/** @attribute DebuggerStepThroughAttribute() */ 
public void ReportProgress (
    int percentProgress, 
    Object userData
)
DebuggerStepThroughAttribute 
public function ReportProgress (
    percentProgress : int, 
    userData : Object
)

Parameters

  • percentProgress
    [in] Percentage of progress of the operation.
  • userData
    [in] System.Object instance that represents user data.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsBackgroundWorker Class
SmsBackgroundWorker Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace