Class DeadLetterException
Exception that wraps dead letter error information.
public sealed class DeadLetterException : Exception, ISerializable
- Inheritance
-
DeadLetterException
- Implements
- Inherited Members
- Extension Methods
Remarks
Initializes a new instance of the DeadLetterException class.
Constructors
DeadLetterException()
Initializes a new instance of the Exception class.
public DeadLetterException()
DeadLetterException(string?)
Initializes a new instance of the Exception class with a specified error message.
public DeadLetterException(string? message)
Parameters
messagestringThe message that describes the error.
DeadLetterException(string?, Exception?)
Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
public DeadLetterException(string? message, Exception? innerException)
Parameters
messagestringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception, or a null reference (
Nothingin Visual Basic) if no inner exception is specified.
DeadLetterException(string, string, string?)
Exception that wraps dead letter error information.
public DeadLetterException(string message, string exceptionType, string? stackTrace)
Parameters
Remarks
Initializes a new instance of the DeadLetterException class.
Properties
ExceptionType
Gets the original exception type name.
public string ExceptionType { get; }
Property Value
- string
The current ExceptionType value.
OriginalStackTrace
Gets the original stack trace.
public string? OriginalStackTrace { get; }
Property Value
- string
The current OriginalStackTrace value.
StackTrace
Gets a string representation of the immediate frames on the call stack.
public override string? StackTrace { get; }