다음을 통해 공유


SettingMismatch 생성자 (String, String, String, Int32)

제공된 설정 이름, 소스 값, 대상 값 및 경고 수준을 사용하여 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
)

매개 변수

  • sourceValue
    형식: System.String
    소스 설정의 값입니다.
  • targetValue
    형식: System.String
    대상 설정의 값입니다.
  • warningLevel
    형식: System.Int32
    설정의 경고 수준입니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

SettingMismatch 클래스

SettingMismatch 오버로드

Microsoft.VisualStudio.TestTools.UITest.Common 네임스페이스