Search Results for

    Show / Hide Table of Contents

    Class ActorInitializationException

    This exception is thrown when the initialization logic for an Actor fails.

    Inheritance
    object
    Exception
    AkkaException
    ActorInitializationException
    PostRestartException
    PreRestartException
    Implements
    ISerializable
    Inherited Members
    AkkaException.Cause
    Exception.GetBaseException()
    Exception.GetType()
    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 ActorInitializationException : AkkaException, ISerializable

    Constructors

    | Edit this page View Source

    ActorInitializationException()

    Initializes a new instance of the ActorInitializationException class.

    Declaration
    public ActorInitializationException()
    | Edit this page View Source

    ActorInitializationException(IActorRef, string, Exception)

    Initializes a new instance of the ActorInitializationException class.

    Declaration
    public ActorInitializationException(IActorRef actor, string message, Exception cause = null)
    Parameters
    Type Name Description
    IActorRef actor

    The actor whose initialization logic failed.

    string message

    The message that describes the error.

    Exception cause

    The exception that is the cause of the current exception.

    | Edit this page View Source

    ActorInitializationException(SerializationInfo, StreamingContext)

    Initializes a new instance of the ActorInitializationException class.

    Declaration
    protected ActorInitializationException(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.

    | Edit this page View Source

    ActorInitializationException(string)

    Initializes a new instance of the ActorInitializationException class.

    Declaration
    public ActorInitializationException(string message)
    Parameters
    Type Name Description
    string message

    The message that describes the error.

    | Edit this page View Source

    ActorInitializationException(string, Exception)

    Initializes a new instance of the ActorInitializationException class.

    Declaration
    public ActorInitializationException(string message, Exception cause)
    Parameters
    Type Name Description
    string message

    The message that describes the error.

    Exception cause

    The exception that is the cause of the current exception.

    Properties

    | Edit this page View Source

    Actor

    Retrieves the actor whose initialization logic failed.

    Declaration
    public IActorRef Actor { get; set; }
    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)
    | Edit this page View Source

    ToString()

    Returns a string that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents this instance.

    Overrides
    Exception.ToString()

    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