IExtensionErrorHandler Interface

Definition

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

C++/CX
public interface class IExtensionErrorHandler
Derived

Remarks

This is a MEF component part, and should be imported as follows: [Import] IExtensionErrorHandler errorHandler = null;

Methods

HandleError(Object, Exception)

Logs an exception to ActivityLogs and the telemetry, and notifies that an exception has occured.

Applies to

Produkt Verzie
Visual Studio SDK 2015, 2017, 2019, 2022