Search Results for

    Show / Hide Table of Contents

    Class InvalidMessageException

    This exception is thrown when an invalid message is sent to an Actor.

    note

    Currently only null is an invalid message.

    Inheritance
    object
    Exception
    AkkaException
    InvalidMessageException
    Implements
    ISerializable
    Inherited Members
    AkkaException.Cause
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    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 InvalidMessageException : AkkaException, ISerializable

    Constructors

    | Edit this page View Source

    InvalidMessageException()

    Initializes a new instance of the InvalidMessageException class.

    Declaration
    public InvalidMessageException()
    | Edit this page View Source

    InvalidMessageException(SerializationInfo, StreamingContext)

    Initializes a new instance of the InvalidMessageException class.

    Declaration
    protected InvalidMessageException(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

    InvalidMessageException(string)

    Initializes a new instance of the InvalidMessageException class.

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

    The message that describes the error.

    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