IExtensionErrorHandler2 Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows editor hosts to detect exceptions that get captured at extension points.
public interface class IExtensionErrorHandler2 : Microsoft::VisualStudio::Text::IExtensionErrorHandler
public interface IExtensionErrorHandler2 : Microsoft.VisualStudio.Text.IExtensionErrorHandler
type IExtensionErrorHandler2 = interface
interface IExtensionErrorHandler
Public Interface IExtensionErrorHandler2
Implements IExtensionErrorHandler
- Implements
Remarks
This is a MEF component part, and should be imported as follows: [Import] IExtensionErrorHandler2 errorHandler = null;
Methods
HandleError(Object, Exception) |
Logs an exception to ActivityLogs and the telemetry, and notifies that an exception has occured. (Inherited from IExtensionErrorHandler) |
LogError(Object, Exception) |
Logs an exception to ActivityLogs and the telemetry. |