CompareStatusEventArgs 构造函数 (String, Int32)
使用提供的消息及已完成百分比初始化 CompareStatusEventArgs 类的一个新实例。
命名空间: Microsoft.Data.Schema.Tools.Compare
程序集: Microsoft.Data.Schema.Tools(在 Microsoft.Data.Schema.Tools.dll 中)
语法
声明
Public Sub New ( _
message As String, _
percentage As Integer _
)
public CompareStatusEventArgs(
string message,
int percentage
)
public:
CompareStatusEventArgs(
String^ message,
int percentage
)
new :
message:string *
percentage:int -> CompareStatusEventArgs
public function CompareStatusEventArgs(
message : String,
percentage : int
)
参数
- message
类型:System.String
一个包含消息的 string。
- percentage
类型:System.Int32
一个 int,指示当前已完成的百分比。值 -1 指示不提供百分比。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。