IExtensionErrorHandler.HandleError 方法

发送通知发生了异常。

命名空间:  Microsoft.VisualStudio.Text
程序集:  Microsoft.VisualStudio.Text.Data(在 Microsoft.VisualStudio.Text.Data.dll 中)

语法

声明
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
)

参数

  • sender
    类型:Object

    已引发异常的扩展对象或事件处理程序。

  • exception
    类型:Exception

    引发的异常。

.NET Framework 安全性

请参阅

参考

IExtensionErrorHandler 接口

Microsoft.VisualStudio.Text 命名空间