IGuardedOperations2.LogException(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 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
Exception to log
Remarks
This method can be invoked from any thread.