IVsCommonMessagePump::SetProgressInfo Method (Int32, Int32, String^)

 

Specifies the progress information for the wait dialog.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int SetProgressInfo(
	int iTotalSteps,
	int iCurrentStep,
	String^ pszProgressText
)

Parameters

iTotalSteps
Type: System::Int32

The total number of steps.

iCurrentStep
Type: System::Int32

The current step (must be between 1 and iTotalSteps).

pszProgressText
Type: System::String^

The text for the progress information

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: