IVsCommonMessagePump Methods

 

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

NameDescription
System_CAPS_pubmethodEnableRealProgress(Boolean)

Enables (or disables) a percent-based progress control.

System_CAPS_pubmethodModalWaitForObjects(array<IntPtr>^, UInt32, UInt32)

Use this method to wait for objects to signal (likely by some background processing) while keeping VS responsive.

System_CAPS_pubmethodModalWaitForObjectsWithClient(array<IntPtr>^, UInt32, IVsCommonMessagePumpClientEvents^)

The method's behavior is very similar to ModalWaitForObjects. In addition, it allows for a custom wait and events processing logic to be supplied. The method makes VS modal, and automatically provides the default wait UI after about 2 seconds of waiting.

System_CAPS_pubmethodSetAllowCancel(Boolean)

Specifies whether or not a Cancel button should appear n the wait dialog.

System_CAPS_pubmethodSetProgressInfo(Int32, Int32, String^)

Specifies the progress information for the wait dialog.

System_CAPS_pubmethodSetStatusBarText(String^)

Specifies the text to use on the status bar.

System_CAPS_pubmethodSetTimeout(UInt32)

Specifies the maximum time (in milliseconds) to wait for objects to signal.

System_CAPS_pubmethodSetWaitText(String^)

Specifies the text for the default wait UI that explains the reason for the wait.

System_CAPS_pubmethodSetWaitTitle(String^)

Specifies the title of the wait dialog.

Return to top
Show: