IExtensionErrorHandler2.LogError(Object, Exception) Method

Definition

Logs an exception to ActivityLogs and the telemetry.

C++
public:
 void LogError(System::Object ^ sender, Exception ^ exception);

Parameters

sender
Object

The extension object or event handler that threw the exception.

exception
Exception

The exception to log.

Applies to

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