ValidationMessage 생성자 (ValidationContext, String, Int32, Int32)

메시지에 대 한 컨텍스트, 설명, 줄 번호 및 열 번호를 사용 하 여 ValidationMessage 클래스의 새 인스턴스를 초기화 합니다.

네임스페이스:  Microsoft.VisualStudio.Modeling.Validation
어셈블리:  Microsoft.VisualStudio.Modeling.Sdk.11.0(Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

구문

‘선언
Protected Sub New ( _
    context As ValidationContext, _
    description As String, _
    line As Integer, _
    column As Integer _
)
protected ValidationMessage(
    ValidationContext context,
    string description,
    int line,
    int column
)

매개 변수

  • description
    형식: System.String
    문제 설명입니다.이 텍스트는 Visual Studio 출력 창에 표시 됩니다.
  • line
    형식: System.Int32
    오류가 발생 하는 줄 번호입니다.
  • column
    형식: System.Int32
    오류가 발생 하는 텍스트 줄의 열입니다.

.NET Framework 보안

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

참고 항목

참조

ValidationMessage 클래스

ValidationMessage 오버로드

Microsoft.VisualStudio.Modeling.Validation 네임스페이스