CommonMessagePump.IVsCommonMessagePump.SetProgressInfo Method

Sets progress information for the message.

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

Syntax

'Declaration
Private Function SetProgressInfo ( _
    iTotalSteps As Integer, _
    iCurrentStep As Integer, _
    progressText As String _
) As Integer Implements IVsCommonMessagePump.SetProgressInfo
int IVsCommonMessagePump.SetProgressInfo(
    int iTotalSteps,
    int iCurrentStep,
    string progressText
)
private:
virtual int SetProgressInfo(
    int iTotalSteps, 
    int iCurrentStep, 
    String^ progressText
) sealed = IVsCommonMessagePump::SetProgressInfo
private abstract SetProgressInfo : 
        iTotalSteps:int * 
        iCurrentStep:int * 
        progressText:string -> int 
private override SetProgressInfo : 
        iTotalSteps:int * 
        iCurrentStep:int * 
        progressText:string -> int 
JScript does not support explicit interface implementations.

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.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsCommonMessagePump.SetProgressInfo(Int32, Int32, String)

.NET Framework Security

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace