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

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

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

语法

声明
Public Sub New ( _
    name As String, _
    value As String, _
    mismatchType As MismatchType, _
    warningLevel As Integer _
)
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 function SettingMismatch(
    name : String, 
    value : String, 
    mismatchType : MismatchType, 
    warningLevel : int
)

参数

  • warningLevel
    类型:System.Int32
    设置的警告等级。

.NET Framework 安全性

请参见

参考

SettingMismatch 类

SettingMismatch 重载

Microsoft.VisualStudio.TestTools.UITest.Common 命名空间

MismatchType