Compartir a través de


IAsyncProgressCallback.ReportProgress Method

Definition

Reports progress.

public:
 void ReportProgress(Guid % guidService, System::String ^ szWaitMessage, System::String ^ szProgressText, int iCurrentStep, int iTotalSteps);
public void ReportProgress (ref Guid guidService, string szWaitMessage, string szProgressText, int iCurrentStep, int iTotalSteps);
abstract member ReportProgress : Guid * string * string * int * int -> unit
Public Sub ReportProgress (ByRef guidService As Guid, szWaitMessage As String, szProgressText As String, iCurrentStep As Integer, iTotalSteps As Integer)

Parameters

guidService
Guid

The GUID of the service.

szWaitMessage
String

The message used to tell users to wait.

szProgressText
String

The message used to report progress.

iCurrentStep
Int32

The number of the current step.

iTotalSteps
Int32

The number of overall steps.

Remarks

This method is safe to access from any thread.

Applies to