CommonMessagePump.IVsCommonMessagePump.EnableRealProgress Method
Determines the kind of progress to be displayed
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaração
Private Function EnableRealProgress ( _
enableRealProgress As Boolean _
) As Integer Implements IVsCommonMessagePump.EnableRealProgress
int IVsCommonMessagePump.EnableRealProgress(
bool enableRealProgress
)
Parameters
- enableRealProgress
Type: System.Boolean
True if the progress dialog shows a percent control, false to show a marquee-style control.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsCommonMessagePump.EnableRealProgress(Boolean)
Remarks
If enableRealProgress is true, the caller must provide TotalSteps and CurrentStep values.
.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.