CommonMessagePump.IVsCommonMessagePump.SetProgressInfo Method
Sets progress information for the message.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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: Int32The total number of steps for progress control.
iCurrentStep
Type: Int32The current step. A value between 1 and iTotalSteps.
progressText
Type: StringDescribes the current step.
Return Value
Type: 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.