Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
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
)
Parameters
- name 
 Type: System.String- The name of the source setting. 
- value 
 Type: System.String- The value of the source setting 
- mismatchType 
 Type: Microsoft.VisualStudio.TestTools.UITest.Common.MismatchType- The type of mismatch (either SourceOnly or TargetOnly). 
- warningLevel 
 Type: System.Int32- The warning level of the setting. 
See Also
MismatchType
SettingMismatch Overload
SettingMismatch Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top