IExtensionErrorHandler.HandleError(Object, Exception) Method

Definition

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

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

Parameters

sender
Object

The extension object or event handler that threw the exception.

exception
Exception

The exception that was thrown.

Applies to

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