ThreadedWaitDialogProgressData Constructors
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.
Overloads
ThreadedWaitDialogProgressData(String, String, String, Boolean) |
Initializes a new instance of the ThreadedWaitDialogProgressData class without reporting completion information. |
ThreadedWaitDialogProgressData(String, String, String, Boolean, Int32, Int32) |
Initializes a new instance of the ThreadedWaitDialogProgressData class and report completion information. |
ThreadedWaitDialogProgressData(String, String, String, Boolean)
Initializes a new instance of the ThreadedWaitDialogProgressData class without reporting completion information.
ThreadedWaitDialogProgressData(std::wstring const & waitMessage, std::wstring const & progressText = null, std::wstring const & statusBarText = null, bool isCancelable = false);
public ThreadedWaitDialogProgressData (string waitMessage, string progressText = default, string statusBarText = default, bool isCancelable = false);
new Microsoft.VisualStudio.Shell.ThreadedWaitDialogProgressData : string * string * string * bool -> Microsoft.VisualStudio.Shell.ThreadedWaitDialogProgressData
Public Sub New (waitMessage As String, Optional progressText As String = Nothing, Optional statusBarText As String = Nothing, Optional isCancelable As Boolean = false)
Parameters
- waitMessage
- String
High-level description of the operation.
- progressText
- String
A more precise description of the operation in progress.
- statusBarText
- String
Message to display on the status bar.
- isCancelable
- Boolean
A value indicating whether the user should be offered an option to cancel the operation.
Remarks
Threaded wait dialog will show marquee style progress bar because no detailed progress information is provided.
Applies to
ThreadedWaitDialogProgressData(String, String, String, Boolean, Int32, Int32)
Initializes a new instance of the ThreadedWaitDialogProgressData class and report completion information.
public:
ThreadedWaitDialogProgressData(System::String ^ waitMessage, System::String ^ progressText, System::String ^ statusBarText, bool isCancelable, int currentStep, int totalSteps);
public:
ThreadedWaitDialogProgressData(Platform::String ^ waitMessage, Platform::String ^ progressText, Platform::String ^ statusBarText, bool isCancelable, int currentStep, int totalSteps);
ThreadedWaitDialogProgressData(std::wstring const & waitMessage, std::wstring const & progressText, std::wstring const & statusBarText, bool isCancelable, int currentStep, int totalSteps);
public ThreadedWaitDialogProgressData (string waitMessage, string progressText, string statusBarText, bool isCancelable, int currentStep, int totalSteps);
new Microsoft.VisualStudio.Shell.ThreadedWaitDialogProgressData : string * string * string * bool * int * int -> Microsoft.VisualStudio.Shell.ThreadedWaitDialogProgressData
Public Sub New (waitMessage As String, progressText As String, statusBarText As String, isCancelable As Boolean, currentStep As Integer, totalSteps As Integer)
Parameters
- waitMessage
- String
High-level description of the operation.
- progressText
- String
A more precise description of the operation in progress.
- statusBarText
- String
Message to display on the status bar.
- isCancelable
- Boolean
A value indicating whether the user should be offered an option to cancel the operation.
- currentStep
- Int32
Current step in the progress.
- totalSteps
- Int32
Total number of steps available. Use 0 to display the indeterminate marquee in the wait dialog.