Freigeben über


CommonMessagePump.IVsCommonMessagePump.SetProgressInfo Method

Definition

Sets progress information for the message.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetProgressInfo(int iTotalSteps, int iCurrentStep, System::String ^ progressText) = Microsoft::VisualStudio::Shell::Interop::IVsCommonMessagePump::SetProgressInfo;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetProgressInfo(int iTotalSteps, int iCurrentStep, Platform::String ^ progressText) = Microsoft::VisualStudio::Shell::Interop::IVsCommonMessagePump::SetProgressInfo;
int Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetProgressInfo(int iTotalSteps, int iCurrentStep, std::wstring const & progressText);
int IVsCommonMessagePump.SetProgressInfo (int iTotalSteps, int iCurrentStep, string progressText);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetProgressInfo : int * int * string -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsCommonMessagePump.SetProgressInfo : int * int * string -> int
Function SetProgressInfo (iTotalSteps As Integer, iCurrentStep As Integer, progressText As String) As Integer Implements IVsCommonMessagePump.SetProgressInfo

Parameters

iTotalSteps
Int32

The total number of steps for progress control.

iCurrentStep
Int32

The current step. A value between 1 and iTotalSteps.

progressText
String

Describes the current step.

Returns

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

Implements

Applies to