ServiceProgressData 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
ServiceProgressData(String, String) |
Reports progress with no completion information. |
ServiceProgressData(String, String, Int32, Int32) |
Report progress with completion information. |
ServiceProgressData(String, String)
Reports progress with no completion information.
ServiceProgressData(std::wstring const & waitMessage, std::wstring const & progressText = null);
public ServiceProgressData (string waitMessage, string progressText = default);
new Microsoft.VisualStudio.Shell.ServiceProgressData : string * string -> Microsoft.VisualStudio.Shell.ServiceProgressData
Public Sub New (waitMessage As String, Optional progressText As String = Nothing)
Parameters
- waitMessage
- String
Message to be displayed to user.
- progressText
- String
Message indicating current progress of the operation.
Remarks
Threaded wait dialog will show marquee style progress bar because no detailed progress information is provided.
Applies to
ServiceProgressData(String, String, Int32, Int32)
Report progress with completion information.
public:
ServiceProgressData(System::String ^ waitMessage, System::String ^ progressText, int currentStep, int totalSteps);
public:
ServiceProgressData(Platform::String ^ waitMessage, Platform::String ^ progressText, int currentStep, int totalSteps);
ServiceProgressData(std::wstring const & waitMessage, std::wstring const & progressText, int currentStep, int totalSteps);
public ServiceProgressData (string waitMessage, string progressText, int currentStep, int totalSteps);
new Microsoft.VisualStudio.Shell.ServiceProgressData : string * string * int * int -> Microsoft.VisualStudio.Shell.ServiceProgressData
Public Sub New (waitMessage As String, progressText As String, currentStep As Integer, totalSteps As Integer)
Parameters
- waitMessage
- String
Message to be displayed to user.
- progressText
- String
Message indicating current progress of the operation.
- currentStep
- Int32
Current step in the progress.
- totalSteps
- Int32
Total number of steps available.
Remarks
Threaded wait dialog will show marquee style progress bar because no detailed progress information is provided.