Share via


IVsCommonMessagePump.SetProgressInfo(Int32, Int32, String) Method

Definition

Specifies the progress information for the wait dialog.

public:
 int SetProgressInfo(int iTotalSteps, int iCurrentStep, System::String ^ pszProgressText);
public:
 int SetProgressInfo(int iTotalSteps, int iCurrentStep, Platform::String ^ pszProgressText);
int SetProgressInfo(int iTotalSteps, int iCurrentStep, std::wstring const & pszProgressText);
public int SetProgressInfo (int iTotalSteps, int iCurrentStep, string pszProgressText);
abstract member SetProgressInfo : int * int * string -> int
Public Function SetProgressInfo (iTotalSteps As Integer, iCurrentStep As Integer, pszProgressText As String) As Integer

Parameters

iTotalSteps
Int32

The total number of steps.

iCurrentStep
Int32

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

pszProgressText
String

The text for the progress information

Returns

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

Applies to