次の方法で共有


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

'宣言
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: System.Object
    The extension object or event handler that threw the exception.

.NET Framework Security

See Also

Reference

IExtensionErrorHandler Interface

Microsoft.VisualStudio.Text Namespace