다음을 통해 공유


ErrorTag 생성자 (String, Object)

지정된 형식에 대한 ErrorTag의 새 인스턴스를 초기화합니다.

네임스페이스:  Microsoft.VisualStudio.Text.Tagging
어셈블리:  Microsoft.VisualStudio.Text.UI(Microsoft.VisualStudio.Text.UI.dll)

구문

‘선언
Public Sub New ( _
    errorType As String, _
    toolTipContent As Object _
)
public ErrorTag(
    string errorType,
    Object toolTipContent
)
public:
ErrorTag(
    String^ errorType, 
    Object^ toolTipContent
)
new : 
        errorType:string * 
        toolTipContent:Object -> ErrorTag
public function ErrorTag(
    errorType : String, 
    toolTipContent : Object
)

매개 변수

  • errorType
    형식: String

    사용 하는 오류 유형을 지정 합니다.

  • toolTipContent
    형식: Object

    표시할 도구 설명 콘텐츠입니다. nullNull 참조(Visual Basic의 경우 Nothing)일 수 있습니다.

예외

예외 조건
ArgumentNullException

errorType가 nullNull 참조(Visual Basic의 경우 Nothing)입니다.

.NET Framework 보안

참고 항목

참조

ErrorTag 클래스

ErrorTag 오버로드

Microsoft.VisualStudio.Text.Tagging 네임스페이스