Sdílet prostřednictvím


SettingMismatch – konstruktor (String, String, String, Int32)

Inicializuje novou instanci SettingMismatch třídy pomocí zadané nastavení název, zdroj hodnotu, cílové hodnoty a úroveň pro upozornění.

Obor názvů:  Microsoft.VisualStudio.TestTools.UITest.Common
Sestavení:  Microsoft.VisualStudio.TestTools.UITest.Common (v Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntaxe

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

Parametry

  • name
    Typ: String

    Název nastavení.

  • sourceValue
    Typ: String

    Hodnota nastavení zdroje.

  • targetValue
    Typ: String

    Hodnota nastavení cíle.

  • warningLevel
    Typ: Int32

    Úroveň nastavení pro upozornění.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

SettingMismatch Třída

SettingMismatch – přetížení

Microsoft.VisualStudio.TestTools.UITest.Common – obor názvů