共用方式為


CommonMessagePump.IVsCommonMessagePump.SetProgressInfo Method

Sets progress information for the message.

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

Syntax

'宣告
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
)

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