使用提供的设置名称、源值、目标值和警告等级初始化 SettingMismatch 类的新实例。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
public SettingMismatch(
string name,
string sourceValue,
string targetValue,
int warningLevel
)
public:
SettingMismatch(
String^ name,
String^ sourceValue,
String^ targetValue,
int warningLevel
)
new :
name:string *
sourceValue:string *
targetValue:string *
warningLevel:int -> SettingMismatch
Public Sub New (
name As String,
sourceValue As String,
targetValue As String,
warningLevel As Integer
)
参数
- name
设置的名称。
- sourceValue
源设置的值。
- targetValue
目标设置的值。
- warningLevel
设置的警告等级。
请参阅
SettingMismatch 重载
SettingMismatch 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间
返回页首