C-DEngine 5.105

TheCommonUtils..::..GetAggregateExceptionMessage Method (Exception, Boolean)

Retrieve exception details in a string, optionally including the stack trace.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static string GetAggregateExceptionMessage(
	Exception e,
	bool includeStackTrace
)
Public Shared Function GetAggregateExceptionMessage ( _
	e As Exception, _
	includeStackTrace As Boolean _
) As String
public:
static String^ GetAggregateExceptionMessage(
	Exception^ e, 
	bool^ includeStackTrace
)

Parameters

e
Type: Exception
The exception details passed to an exception handler.
includeStackTrace
Type: Boolean
Whether to include the stack trace or not.

Return Value

A string containing exception details.

Remarks


Note: Call this function from within an exception handler.