다음을 통해 공유


IVsThreadedWaitDialog4 Interface

Definition

Provides methods to tell callers whether the dialog was started or simply a no-op.

public interface class IVsThreadedWaitDialog4 : Microsoft::VisualStudio::Shell::Interop::IVsThreadedWaitDialog3
public interface class IVsThreadedWaitDialog4 : Microsoft::VisualStudio::Shell::Interop::IVsThreadedWaitDialog3
__interface IVsThreadedWaitDialog4 : Microsoft::VisualStudio::Shell::Interop::IVsThreadedWaitDialog3
public interface IVsThreadedWaitDialog4 : Microsoft.VisualStudio.Shell.Interop.IVsThreadedWaitDialog3
[System.Runtime.InteropServices.Guid("7619BD89-3B7E-4838-AD11-434BEC7D9530")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsThreadedWaitDialog4 : Microsoft.VisualStudio.Shell.Interop.IVsThreadedWaitDialog3
type IVsThreadedWaitDialog4 = interface
    interface IVsThreadedWaitDialog3
[<System.Runtime.InteropServices.Guid("7619BD89-3B7E-4838-AD11-434BEC7D9530")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsThreadedWaitDialog4 = interface
    interface IVsThreadedWaitDialog3
    interface IVsThreadedWaitDialog2
Public Interface IVsThreadedWaitDialog4
Implements IVsThreadedWaitDialog3
Attributes
Implements

Remarks

This interface is safe to access from any thread.

Methods

EndWaitDialog(Int32)

Stops the wait dialog.

HasCanceled(Boolean)

Determines whether the dialog has been canceled.

StartWaitDialog(String, String, String, Object, String, Int32, Boolean, Boolean)

Determines whether StartWaitDialog(Ex) has actually started a dialog.If StartWaitDialog (or StartWaitDialogEx) is called multiple times without calling EndWaitDialog, only the first will start the dialog. Subsequent calls will just be no-ops. This makes it difficult to determine how often a call site caused the dialog to show. pfStarted will be set to true if the call to StartWaitDialogEx started the wait dialog (or started the timer to show the dialog).

StartWaitDialogEx(String, String, String, Object, String, Int32, Boolean, Boolean)

Determines whether StartWaitDialog(Ex) has actually started a dialog.If StartWaitDialog (or StartWaitDialogEx) is called multiple times without calling EndWaitDialog, only the first will start the dialog. Subsequent calls will just be no-ops. This makes it difficult to determine how often a call site caused the dialog to show. pfStarted will be set to true if the call to StartWaitDialogEx started the wait dialog (or started the timer to show the dialog).

StartWaitDialogWithCallback(String, String, String, Object, String, Boolean, Int32, Boolean, Int32, Int32, IVsThreadedWaitDialogCallback)

Starts a wait dialog with a callback.

StartWaitDialogWithPercentageProgress(String, String, String, Object, String, Boolean, Int32, Int32, Int32)

Starts a wait dialog that shows progress.

UpdateProgress(String, String, String, Int32, Int32, Boolean, Boolean)

Updates the progress of the wait dialog.

Extension Methods

EndWaitDialog(IVsThreadedWaitDialog2)

Closes the wait dialog.

Applies to