Udostępnij za pośrednictwem


IGuardedOperations2.LogException(Object, Exception) Method

Definition

Logs an exception silently, without notifying the user.

public:
 void LogException(System::Object ^ errorSource, Exception ^ e);
public void LogException (object errorSource, Exception e);
abstract member LogException : obj * Exception -> unit
Public Sub LogException (errorSource As Object, e As Exception)

Parameters

errorSource
Object

Reference to the extension object or event handler that threw the exception

e
Exception

Exception to log

Remarks

This method can be invoked from any thread.

Applies to