英語で読む

次の方法で共有


IExtensionErrorHandler2 Interface

Definition

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

C++
public interface class IExtensionErrorHandler2 : Microsoft::VisualStudio::Text::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.

Applies to

製品 バージョン
Visual Studio SDK 2019, 2022