Delen via


IExtensionErrorHandler.HandleError Method

Sends notification that an exception has occurred.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
Sub HandleError ( _
    sender As Object, _
    exception As Exception _
)
void HandleError(
    Object sender,
    Exception exception
)
void HandleError(
    Object^ sender, 
    Exception^ exception
)
abstract HandleError : 
        sender:Object * 
        exception:Exception -> unit
function HandleError(
    sender : Object, 
    exception : Exception
)

Parameters

  • sender
    Type: Object

    The extension object or event handler that threw the exception.

  • exception
    Type: Exception

    The exception that was thrown.

.NET Framework Security

See Also

Reference

IExtensionErrorHandler Interface

Microsoft.VisualStudio.Text Namespace