IVsThreadedWaitDialog2::UpdateProgress Method (String^, String^, String^, Int32, Int32, Boolean, Boolean)
Visual Studio 2015
Updates the progress on the wait dialog.
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
int UpdateProgress( String^ szUpdatedWaitMessage, String^ szProgressText, String^ szStatusBarText, int iCurrentStep, int iTotalSteps, bool fDisableCancel, [OutAttribute] bool% pfCanceled )
Parameters
- szUpdatedWaitMessage
-
Type:
System::String^
The updated wait message. Can be null.
- szProgressText
-
Type:
System::String^
The text accompanying the progress bar. Can be null.
- szStatusBarText
-
Type:
System::String^
The status bar text. Can be null.
- iCurrentStep
-
Type:
System::Int32
The number of steps completed so far.
- iTotalSteps
-
Type:
System::Int32
The total number of steps.
- fDisableCancel
-
Type:
System::Boolean
If the operation becomes uncancelable, disable the Cancel button by passing true.
- pfCanceled
-
Type:
System::Boolean
[out] true if the operation was canceled.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: