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: System.Object
The extension object or event handler that threw the exception.
- exception
Type: System.Exception
The exception that was thrown.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.