Class DeadLetter
When a message is sent to an Actor that is terminated before receiving the message, it will be sent as a DeadLetter to the ActorSystem's EventStream
Implements
Inherited Members
Namespace: Akka.Event
Assembly: Akka.dll
Syntax
public sealed class DeadLetter : AllDeadLetters, IWrappedMessage
Constructors
| Improve this Doc View SourceDeadLetter(Object, IActorRef, IActorRef)
Initializes a new instance of the DeadLetter class.
Declaration
public DeadLetter(object message, IActorRef sender, IActorRef recipient)
Parameters
Type | Name | Description |
---|---|---|
Object | message | The original message that could not be delivered. |
IActorRef | sender | The actor that sent the message. |
IActorRef | recipient | The actor that was to receive the message. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | This exception is thrown when either the sender or the recipient is undefined. |