Class ErrorContext
- Namespace
- AnyProtocol.Abstraction
- Assembly
- AnyProtocol.Abstraction.dll
Describes a failed message operation for an error handler.
public sealed class ErrorContext
- Inheritance
-
ErrorContext
- Inherited Members
Constructors
ErrorContext(IMessageContext, Exception)
Describes a failed message operation for an error handler.
public ErrorContext(IMessageContext message, Exception exception)
Parameters
messageIMessageContextThe immutable operation view available to error handlers.
exceptionExceptionThe exception that caused the failure.
Properties
Exception
Gets the exception that caused the failure.
public Exception Exception { get; }
Property Value
Message
Gets the operation that failed.
public IMessageContext Message { get; }