Persistate API documentation
ExceptionText Method (ex, detailed)
NamespacesPersistateUtlExceptionText(Exception, Boolean)

[This is preliminary documentation and is subject to change.]

Obtains the messages and optionally full details of an exception and all its inner exceptions.
Declaration Syntax
C#
public static string ExceptionText(
	Exception ex,
	bool detailed
)
Parameters
ex (Exception)
The exception to get the text from.
detailed (Boolean)
If true, more detailed information including stack traces is generated for each exception in the chain.
Return Value
A String containing the text.
Remarks
This handles the case where an inner exception reference points back to one earlier in the chain. Any TargetInvokationExceptions in the chain are not shown.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)