Share via


CommonMessagePump.IVsCommonMessagePump.EnableRealProgress Method

Determines the kind of progress to be displayed

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

Syntax

'Declaration
Private Function EnableRealProgress ( _
    enableRealProgress As Boolean _
) As Integer Implements IVsCommonMessagePump.EnableRealProgress
int IVsCommonMessagePump.EnableRealProgress(
    bool enableRealProgress
)
private:
virtual int EnableRealProgress(
    bool enableRealProgress
) sealed = IVsCommonMessagePump::EnableRealProgress
private abstract EnableRealProgress : 
        enableRealProgress:bool -> int  
private override EnableRealProgress : 
        enableRealProgress:bool -> int
JScript does not support explicit interface implementations.

Parameters

  • enableRealProgress
    Type: Boolean

    True if the progress dialog shows a percent control, false to show a marquee-style control.

Return Value

Type: 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

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace