ModelBusEnabledTextTransformation.ReportError 메서드

ModelBus 오류에서 텍스트 템플릿 오류로 변환합니다. 범주 값에 따라 이 오류 또는 경고를 호출합니다.

네임스페이스:  Microsoft.VisualStudio.TextTemplating.Modeling
어셈블리:  Microsoft.VisualStudio.TextTemplating.Modeling.10.0(Microsoft.VisualStudio.TextTemplating.Modeling.10.0.dll)

구문

‘선언
Protected Overridable Sub ReportError ( _
    category As ErrorCategory, _
    message As String _
)
protected virtual void ReportError(
    ErrorCategory category,
    string message
)
protected:
virtual void ReportError(
    ErrorCategory category, 
    String^ message
)
abstract ReportError : 
        category:ErrorCategory * 
        message:string -> unit 
override ReportError : 
        category:ErrorCategory * 
        message:string -> unit 
protected function ReportError(
    category : ErrorCategory, 
    message : String
)

매개 변수

.NET Framework 보안

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

참고 항목

참조

ModelBusEnabledTextTransformation 클래스

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