SettingMismatch 构造函数 (String, String, MismatchType, Int32)

 

使用提供的名称、值、不匹配类型和警告等级初始化 SettingMismatch 类的新实例。

命名空间:   Microsoft.VisualStudio.TestTools.UITest.Common
程序集:  Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

语法

public SettingMismatch(
    string name,
    string value,
    MismatchType mismatchType,
    int warningLevel
)
public:
SettingMismatch(
    String^ name,
    String^ value,
    MismatchType mismatchType,
    int warningLevel
)
new : 
        name:string *
        value:string *
        mismatchType:MismatchType *
        warningLevel:int -> SettingMismatch
Public Sub New (
    name As String,
    value As String,
    mismatchType As MismatchType,
    warningLevel As Integer
)

参数

  • name
    源设置的名称。
  • value
    源设置的值
  • warningLevel
    设置的警告等级。

请参阅

MismatchType
SettingMismatch 重载
SettingMismatch 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间

返回页首