Search Results for

    Show / Hide Table of Contents

    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

    Inheritance
    object
    AllDeadLetters
    DeadLetter
    Implements
    IWrappedMessage
    Inherited Members
    AllDeadLetters.Message
    AllDeadLetters.Recipient
    AllDeadLetters.Sender
    AllDeadLetters.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Event
    Assembly: Akka.dll
    Syntax
    public sealed class DeadLetter : AllDeadLetters, IWrappedMessage

    Constructors

    | Edit this page View Source

    DeadLetter(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.

    Implements

    IWrappedMessage

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET