ExceptionExtensionsVerboseMessage Method |
Gets a verbose string representation of the exception.
The string is intended to look just like the standard .Net Exception.ToString() output except
that it includes
DeveloperMessage, if any, if the exception implements
the
IEAPExtendedException interface (as does the
EAPException class used as the
base class for most platform exceptions).
As with the standard .Net Exception.ToString() method, the returned string will include the stack trace
and the verbose message for any internal exceptions (recursively).
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string VerboseMessage(
this Exception ex
)
<ExtensionAttribute>
Public Shared Function VerboseMessage (
ex As Exception
) As String
Parameters
- ex
- Type: SystemException
The exception.
Return Value
Type:
StringThe verbose exception message.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Exception. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also