Udostępnij za pośrednictwem


IExtensionErrorHandler Interface

Definition

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

public interface class IExtensionErrorHandler
public interface class IExtensionErrorHandler
__interface IExtensionErrorHandler
public interface IExtensionErrorHandler
type IExtensionErrorHandler = interface
Public Interface 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