Class ExceptionExtensions
Extensions for Exception
public static class ExceptionExtensions
- Inheritance
-
ExceptionExtensions
- Inherited Members
Methods
ToTraceString(OrganizationServiceFault)
Builds a string out of the service fault that can be written to the trace log.
public static string ToTraceString(this OrganizationServiceFault fault)
Parameters
fault
OrganizationServiceFaultThe fault to be logged.
Returns
- string
A human readable string containing the trace data.
ToTraceString(Exception)
Builds a string out of the exception that can be written to the trace log.
public static string ToTraceString(this Exception ex)
Parameters
ex
ExceptionThe exception to be transformed.
Returns
- string
A human readable string containing the trace data.