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 setting name, source value, target value, 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, _
    sourceValue As String, _
    targetValue As String, _
    warningLevel As Integer _
)
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 function SettingMismatch(
    name : String, 
    sourceValue : String, 
    targetValue : String, 
    warningLevel : int
)
Parameters
- name 
 Type: String- The name of the setting. 
- sourceValue 
 Type: String- The value of the source setting. 
- targetValue 
 Type: String- The value of the target setting. 
- warningLevel 
 Type: Int32- The warning level of the setting. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.