IExtensionErrorHandler2.LogError(Object, Exception) Method
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.
public:
void LogError(System::Object ^ sender, Exception ^ exception);
public void LogError (object sender, Exception exception);
abstract member LogError : obj * Exception -> unit
Public Sub LogError (sender As Object, exception As Exception)
- sender
- Object
The extension object or event handler that threw the exception.
- exception
- Exception
The exception to log.