ExceptionHelperExceptionBuilder Method |
Builds an exception string from a set of nested exceptions for printing.
Namespace:
Xcalibur.Helpers
Assembly:
Xcalibur.Helpers (in Xcalibur.Helpers.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax public static string ExceptionBuilder(
this Exception ex
)
<ExtensionAttribute>
Public Shared Function ExceptionBuilder (
ex As Exception
) As String
public:
[ExtensionAttribute]
static String^ ExceptionBuilder(
Exception^ ex
)
[<ExtensionAttribute>]
static member ExceptionBuilder :
ex : Exception -> string
Parameters
- ex
- Type: SystemException
The exception.
Return Value
Type:
StringUsage 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