ServiceProgressData 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ServiceProgressData(String, String) |
報告進度,沒有完成資訊。 |
ServiceProgressData(String, String, Int32, Int32) |
報告完成信息的進度。 |
ServiceProgressData(String, String)
報告進度,沒有完成資訊。
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)
參數
- waitMessage
- String
要向用戶顯示的訊息。
- progressText
- String
指出作業目前進度的訊息。
備註
線程等候對話框會顯示 marquee 樣式進度列,因為未提供詳細的進度資訊。
適用於
ServiceProgressData(String, String, Int32, Int32)
報告完成信息的進度。
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)
參數
- waitMessage
- String
要向用戶顯示的訊息。
- progressText
- String
指出作業目前進度的訊息。
- currentStep
- Int32
進行中的目前步驟。
- totalSteps
- Int32
可用的步驟總數。
備註
線程等候對話框會顯示 marquee 樣式進度列,因為未提供詳細的進度資訊。