LogFormatter.PrintException(Exception) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Utility function to convert an exception into printable format, including expanding and formatting any nested sub-expressions.
public static string PrintException (Exception exception);
static member PrintException : Exception -> string
Public Shared Function PrintException (exception As Exception) As String
Parameters
- exception
- Exception
The exception to be printed.
Returns
Formatted string representation of the exception, including expanding and formatting any nested sub-expressions.