Compartilhar via


ErrorTag Constructor (String, Object)

Initializes a new instance of a ErrorTag of the specified type.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaração
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
)

Parameters

  • toolTipContent
    Type: System.Object
    The tooltip content to display. May be nulla null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
ArgumentNullException

errorType is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ErrorTag Class

ErrorTag Overload

Microsoft.VisualStudio.Text.Tagging Namespace