Table of Contents

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

message IMessageContext

The immutable operation view available to error handlers.

exception Exception

The exception that caused the failure.

Properties

Exception

Gets the exception that caused the failure.

public Exception Exception { get; }

Property Value

Exception

Message

Gets the operation that failed.

public IMessageContext Message { get; }

Property Value

IMessageContext