IVsThreadedWaitDialog2 Interface

Implemented by the Visual Studio shell. This interface allows a modal dialog to be displayed on a background thread so that the IDE appears responsive even when the foreground thread is busy with an extended operation. You can get this interface via SVsThreadedWaitDialogFactory. This dialog differs from IVsThreadedWaitDialog in that it can have both a progress bar and a Cancel button at the same time. It also supports progress with accurate percentages.

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

public interface IVsThreadedWaitDialog2

The IVsThreadedWaitDialog2 type exposes the following members.

Public methodEndWaitDialogCloses the wait dialog.
Public methodHasCanceledDetermines whether the dialog was canceled.
Public methodStartWaitDialogDisplays an instance of a wait dialog.
Public methodStartWaitDialogWithPercentageProgressDisplays a wait dialog with a percentage-based progress bar.
Public methodUpdateProgressUpdates the progress on the wait dialog.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft