Skip to main content

Definition

Assembly: System.Runtime.dll Namespace: System

Syntax

System.Exception

Summary

This type is defined in System.Runtime.

Remarks

See Microsoft documentation for more information about the rest of the API.

Methods

TraceDemystifiedException Extension

Extension method from System.EasyAF_ExceptionExtensions
Demystifies the Exception and writes it to Object[]).

Syntax

public static System.Exception TraceDemystifiedException(System.Exception ex, string logPrefix = "")

Parameters

NameTypeDescription
exSystem.ExceptionThe exception instance to manipulate.
logPrefixstringA string that will be prepended to the log entry. Defaults to the calling function name.

Returns

Type: System.Exception The Demystified exception.