指定された設定名、ソースの値、ターゲットの値、および警告レベルを使用して、SettingMismatch クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.VisualStudio.TestTools.UITest.Common
アセンブリ: Microsoft.VisualStudio.TestTools.UITest.Common (Microsoft.VisualStudio.TestTools.UITest.Common.dll 内)
構文
'宣言
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
)
パラメーター
- name
型: System.String
設定の名前。
- sourceValue
型: System.String
ソースの設定の値。
- targetValue
型: System.String
ターゲットの設定の値。
- warningLevel
型: System.Int32
設定の警告レベル。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。