IVsThreadedWaitDialog2::UpdateProgress Method (String^, String^, String^, Int32, Int32, Boolean, Boolean)

 

Updates the progress on the wait dialog.

Namespace:   Microsoft.VisualStudio.Shell.Interop
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::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: