Class ExceptionData
An exception data.
Inheritance
System.Object
    ExceptionData
  Implements
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 : ISeverityQualifiedExceptionConstructors
| Improve this Doc View SourceExceptionData()
Initializes a new instance of the ExceptionData class.
Declaration
public ExceptionData()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 SourceExceptionType
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. | 
Message
Gets or sets the message.
Declaration
public string Message { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | The message. | 
Severity
Gets or sets the severity level.
Declaration
public SeverityLevel Severity { get; set; }Property Value
| Type | Description | 
|---|---|
| SeverityLevel | The severity level. |