IExtensionErrorHandler.HandleError(Object, Exception) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Logs an exception to ActivityLogs and the telemetry, and notifies that an exception has occured.
public:
void HandleError(System::Object ^ sender, Exception ^ exception);
public void HandleError (object sender, Exception exception);
abstract member HandleError : obj * Exception -> unit
Public Sub HandleError (sender As Object, exception As Exception)
Parameters
- sender
- Object
The extension object or event handler that threw the exception.
- exception
- Exception
The exception that was thrown.