Show / Hide Table of Contents

Class ExceptionData

An exception data.

Inheritance
System.Object
ExceptionData
Implements
ISeverityQualifiedException
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.ExceptionHandling
Assembly: Kephas.Core.dll
Syntax
public class ExceptionData : ISeverityQualifiedException

Constructors

| Improve this Doc View Source

ExceptionData()

Initializes a new instance of the ExceptionData class.

Declaration
public ExceptionData()
| Improve this Doc View Source

ExceptionData(Exception, Nullable<SeverityLevel>)

Initializes a new instance of the ExceptionData class.

Declaration
public ExceptionData(Exception exception, SeverityLevel? severity = default(SeverityLevel? ))
Parameters
Type Name Description
System.Exception exception

The exception.

System.Nullable<SeverityLevel> severity

Optional. The severity level. If this value is set, it overwrites the severity level provided by the exception.

Properties

| Improve this Doc View Source

ExceptionType

Gets or sets the type of the exception.

Declaration
public string ExceptionType { get; set; }
Property Value
Type Description
System.String

The type of the exception.

| Improve this Doc View Source

Message

Gets or sets the message.

Declaration
public string Message { get; set; }
Property Value
Type Description
System.String

The message.

| Improve this Doc View Source

Severity

Gets or sets the severity level.

Declaration
public SeverityLevel Severity { get; set; }
Property Value
Type Description
SeverityLevel

The severity level.

Implements

ISeverityQualifiedException

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX