Condividi tramite


IVsThreadedWaitDialog3.UpdateProgress Method

Definition

Updates the progress of the wait dialog.

public:
 void UpdateProgress(System::String ^ szUpdatedWaitMessage, System::String ^ szProgressText, System::String ^ szStatusBarText, int iCurrentStep, int iTotalSteps, bool fDisableCancel, [Runtime::InteropServices::Out] bool % pfCanceled);
void UpdateProgress(std::wstring const & szUpdatedWaitMessage, std::wstring const & szProgressText, std::wstring const & szStatusBarText, int iCurrentStep, int iTotalSteps, bool fDisableCancel, [Runtime::InteropServices::Out] bool & pfCanceled);
public void UpdateProgress (string szUpdatedWaitMessage, string szProgressText, string szStatusBarText, int iCurrentStep, int iTotalSteps, bool fDisableCancel, out bool pfCanceled);
abstract member UpdateProgress : string * string * string * int * int * bool * bool -> unit
Public Sub UpdateProgress (szUpdatedWaitMessage As String, szProgressText As String, szStatusBarText As String, iCurrentStep As Integer, iTotalSteps As Integer, fDisableCancel As Boolean, ByRef pfCanceled As Boolean)

Parameters

szUpdatedWaitMessage
String

The text of the updated wait message.

szProgressText
String

The progress text.

szStatusBarText
String

The text of the status bar.

iCurrentStep
Int32

The index of the current step.

iTotalSteps
Int32

The number of steps.

fDisableCancel
Boolean

True to disable cancellation, otherwise false.

pfCanceled
Boolean

True if canceled, otherwise false.

Remarks

This method is safe to access from any thread.

Applies to