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

 

Sets progress information for the message.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual int SetProgressInfo(
	int iTotalSteps,
	int iCurrentStep,
	String^ progressText
) sealed = IVsCommonMessagePump::SetProgressInfo

Parameters

iTotalSteps
Type: System::Int32

The total number of steps for progress control.

iCurrentStep
Type: System::Int32

The current step. A value between 1 and iTotalSteps.

progressText
Type: System::String^

Describes the current step.

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: