Share via


IVsThreadedWaitDialog4.StartWaitDialogWithCallback Method

Definition

Starts a wait dialog with a callback.

public:
 void StartWaitDialogWithCallback(System::String ^ szWaitCaption, System::String ^ szWaitMessage, System::String ^ szProgressText, System::Object ^ varStatusBmpAnim, System::String ^ szStatusBarText, bool fIsCancelable, int iDelayToShowDialog, bool fShowProgress, int iTotalSteps, int iCurrentStep, Microsoft::VisualStudio::Shell::Interop::IVsThreadedWaitDialogCallback ^ pCallback);
public:
 void StartWaitDialogWithCallback(Platform::String ^ szWaitCaption, Platform::String ^ szWaitMessage, Platform::String ^ szProgressText, Platform::Object ^ varStatusBmpAnim, Platform::String ^ szStatusBarText, bool fIsCancelable, int iDelayToShowDialog, bool fShowProgress, int iTotalSteps, int iCurrentStep, Microsoft::VisualStudio::Shell::Interop::IVsThreadedWaitDialogCallback ^ pCallback);
void StartWaitDialogWithCallback(std::wstring const & szWaitCaption, std::wstring const & szWaitMessage, std::wstring const & szProgressText, winrt::Windows::Foundation::IInspectable const & varStatusBmpAnim, std::wstring const & szStatusBarText, bool fIsCancelable, int iDelayToShowDialog, bool fShowProgress, int iTotalSteps, int iCurrentStep, Microsoft::VisualStudio::Shell::Interop::IVsThreadedWaitDialogCallback const & pCallback);
public void StartWaitDialogWithCallback (string szWaitCaption, string szWaitMessage, string szProgressText, object varStatusBmpAnim, string szStatusBarText, bool fIsCancelable, int iDelayToShowDialog, bool fShowProgress, int iTotalSteps, int iCurrentStep, Microsoft.VisualStudio.Shell.Interop.IVsThreadedWaitDialogCallback pCallback);
abstract member StartWaitDialogWithCallback : string * string * string * obj * string * bool * int * bool * int * int * Microsoft.VisualStudio.Shell.Interop.IVsThreadedWaitDialogCallback -> unit
Public Sub StartWaitDialogWithCallback (szWaitCaption As String, szWaitMessage As String, szProgressText As String, varStatusBmpAnim As Object, szStatusBarText As String, fIsCancelable As Boolean, iDelayToShowDialog As Integer, fShowProgress As Boolean, iTotalSteps As Integer, iCurrentStep As Integer, pCallback As IVsThreadedWaitDialogCallback)

Parameters

szWaitCaption
String

The wait dialog caption

szWaitMessage
String

The wait message.

szProgressText
String

The progress text.

varStatusBmpAnim
Object

Optional. Should be a VT_INT_PTR containing a valid BMP, or VT_NULL.

szStatusBarText
String

The status bar text. Can be NULL.

fIsCancelable
Boolean

True if there is a cancelable button on the dialog, otherwise false.

iDelayToShowDialog
Int32

The number of seconds to delay showing the dialog.

fShowProgress
Boolean

True to show progress, otherwise false.

iTotalSteps
Int32

The number of steps.

iCurrentStep
Int32

The index of the current step.

pCallback
IVsThreadedWaitDialogCallback

The callback.

Implements

Remarks

This method is safe to access from any thread.

Applies to