Compartir a través de


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
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
<GuidAttribute("88194D8B-88DA-4C33-A2C6-15140626E222")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsThreadedWaitDialog2
[GuidAttribute("88194D8B-88DA-4C33-A2C6-15140626E222")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsThreadedWaitDialog2
[GuidAttribute(L"88194D8B-88DA-4C33-A2C6-15140626E222")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsThreadedWaitDialog2
[<GuidAttribute("88194D8B-88DA-4C33-A2C6-15140626E222")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsThreadedWaitDialog2 =  interface end
public interface IVsThreadedWaitDialog2

The IVsThreadedWaitDialog2 type exposes the following members.

Methods

  Name Description
Public method EndWaitDialog Closes the wait dialog.
Public method HasCanceled Determines whether the dialog was canceled.
Public method StartWaitDialog Displays an instance of a wait dialog.
Public method StartWaitDialogWithPercentageProgress Displays a wait dialog with a percentage-based progress bar.
Public method UpdateProgress Updates the progress on the wait dialog.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace