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

‘선언
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

See Also

Reference

CommonMessagePump Class

Microsoft.VisualStudio.Shell Namespace