Compartilhar via


IVsThreadedWaitDialog3 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 through SVsThreadedWaitDialogFactory. This dialog differs from IVsThreadedWaitDialog in that it can have a progress and cancel button at the same time. It also supports progress with an accurate percentage.

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

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("E92E3159-2381-4179-A500-9676DEE38896")> _
Public Interface IVsThreadedWaitDialog3 _
    Inherits IVsThreadedWaitDialog2
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("E92E3159-2381-4179-A500-9676DEE38896")]
public interface IVsThreadedWaitDialog3 : IVsThreadedWaitDialog2
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"E92E3159-2381-4179-A500-9676DEE38896")]
public interface class IVsThreadedWaitDialog3 : IVsThreadedWaitDialog2
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("E92E3159-2381-4179-A500-9676DEE38896")>]
type IVsThreadedWaitDialog3 =  
    interface 
        interface IVsThreadedWaitDialog2 
    end
public interface IVsThreadedWaitDialog3 extends IVsThreadedWaitDialog2

The IVsThreadedWaitDialog3 type exposes the following members.

Methods

  Name Description
Public method EndWaitDialog
Public method HasCanceled
Public method StartWaitDialog
Public method StartWaitDialogWithCallback Displays an instance of a wait dialog with a callback that can be used to cancel the wait dialog.
Public method StartWaitDialogWithPercentageProgress
Public method UpdateProgress

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace