IVsThreadedWaitDialog2 Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public interface class IVsThreadedWaitDialog2
public interface class IVsThreadedWaitDialog2
__interface IVsThreadedWaitDialog2
public interface IVsThreadedWaitDialog2
[System.Runtime.InteropServices.Guid("88194D8B-88DA-4C33-A2C6-15140626E222")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsThreadedWaitDialog2
type IVsThreadedWaitDialog2 = interface
[<System.Runtime.InteropServices.Guid("88194D8B-88DA-4C33-A2C6-15140626E222")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsThreadedWaitDialog2 = interface
Public Interface IVsThreadedWaitDialog2
- Derived
- Attributes
Remarks
This interface is safe to access from any thread.
Methods
EndWaitDialog(Int32) |
Closes the wait dialog. |
HasCanceled(Boolean) |
Determines whether the dialog was canceled. |
StartWaitDialog(String, String, String, Object, String, Int32, Boolean, Boolean) |
Displays an instance of a wait dialog. |
StartWaitDialogWithPercentageProgress(String, String, String, Object, String, Boolean, Int32, Int32, Int32) |
Displays a wait dialog with a percentage-based progress bar. |
UpdateProgress(String, String, String, Int32, Int32, Boolean, Boolean) |
Updates the progress on the wait dialog. |
Extension Methods
EndWaitDialog(IVsThreadedWaitDialog2) |
Closes the wait dialog. |