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
'Declaração
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.
- 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.
Implements
IVsCommonMessagePump.SetProgressInfo(Int32, Int32, String)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.