IAsyncProgressCallback.ReportProgress Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.