Create a log entry for an exception.
Namespace: BasicCard.LoggingAssembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)
Syntax
C# |
---|
public void LogException(
string sourceClass,
string sourceMethod,
Exception e
) |
Visual Basic |
---|
Public Sub LogException (
sourceClass As String,
sourceMethod As String,
e As Exception
) |
Visual C++ |
---|
public:
void LogException(
String^ sourceClass,
String^ sourceMethod,
Exception^ e
) |
F# |
---|
member LogException :
sourceClass : string *
sourceMethod : string *
e : Exception -> unit
|
Parameters
- sourceClass
- Type: System..::..String
Name of class causing the exception.
- sourceMethod
- Type: System..::..String
Name of method/property causing the exception.
- e
- Type: System..::..Exception
Exception object.
See Also