Search Results for

    Show / Hide Table of Contents

    Class DeathPactException

    This exception is thrown by an Actor that receives a Terminated(someActor) message that it doesn't handle itself, effectively crashing the Actor and escalating to the supervisor.

    Inheritance
    object
    Exception
    AkkaException
    DeathPactException
    Implements
    ISerializable
    Inherited Members
    AkkaException.Cause
    Exception.GetBaseException()
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public class DeathPactException : AkkaException, ISerializable

    Constructors

    | Edit this page View Source

    DeathPactException(IActorRef)

    Initializes a new instance of the DeathPactException class.

    Declaration
    public DeathPactException(IActorRef deadActor)
    Parameters
    Type Name Description
    IActorRef deadActor

    The actor that has been terminated.

    | Edit this page View Source

    DeathPactException(SerializationInfo, StreamingContext)

    Initializes a new instance of the DeathPactException class.

    Declaration
    protected DeathPactException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info

    The SerializationInfo that holds the serialized object data about the exception being thrown.

    StreamingContext context

    The StreamingContext that contains contextual information about the source or destination.

    Properties

    | Edit this page View Source

    DeadActor

    Retrieves the actor that has been terminated.

    Declaration
    public IActorRef DeadActor { get; }
    Property Value
    Type Description
    IActorRef

    Methods

    | Edit this page View Source

    GetObjectData(SerializationInfo, StreamingContext)

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    SerializationInfo info
    StreamingContext context
    Overrides
    Exception.GetObjectData(SerializationInfo, StreamingContext)

    Implements

    ISerializable

    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