Freigeben über


IExtensionErrorHandler Interface

Allows editor hosts to detect exceptions that get captured at extension points.

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

Syntax

'Declaration
Public Interface IExtensionErrorHandler
public interface IExtensionErrorHandler
public interface class IExtensionErrorHandler
type IExtensionErrorHandler =  interface end
public interface IExtensionErrorHandler

The IExtensionErrorHandler type exposes the following members.

Methods

  Name Description
Public method HandleError Sends notification that an exception has occurred.

Top

Remarks

This is a MEF component part, and should be exported with the following attribute:

[Export(typeof(IExtensionErrorHandler))]

See Also

Reference

Microsoft.VisualStudio.Text Namespace