ServiceProgressData 构造函数

定义

重载

ServiceProgressData(String, String)

报告无完成信息的进度。/// < /summary > /// < 参数名称 = "waitMessage" > < /param returns > /// < param name = "progressText" > 指示操作的当前进度的消息 < /param returns > /// < 备注 > 线程等待对话框将显示字幕样式进度栏,因为没有提供详细的进度信息 < /remarks>

ServiceProgressData(String, String, Int32, Int32)

报告无完成信息的进度。

ServiceProgressData(String, String)

报告无完成信息的进度。/// < /summary > /// < 参数名称 = "waitMessage" > < /param returns > /// < param name = "progressText" > 指示操作的当前进度的消息 < /param returns > /// < 备注 > 线程等待对话框将显示字幕样式进度栏,因为没有提供详细的进度信息 < /remarks>

 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 样式进度栏。

适用于