Share via


SettingMismatch Constructor (String, String, MismatchType, Int32)

Initializes a new instance of the SettingMismatch class by using the provided name, value, type of mismatch, and warning level.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
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
)

Parameters

  • name
    Type: String

    The name of the source setting.

  • value
    Type: String

    The value of the source setting

  • warningLevel
    Type: Int32

    The warning level of the setting.

.NET Framework Security

See Also

Reference

SettingMismatch Class

SettingMismatch Overload

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

MismatchType