Search Results for

    Show / Hide Table of Contents

    Class Tcp.CommandFailed

    Whenever a command cannot be completed, the queried actor will reply with this message, wrapping the original command which failed.

    Inheritance
    object
    Tcp.Message
    Tcp.Event
    Tcp.CommandFailed
    Implements
    INoSerializationVerificationNeeded
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.IO
    Assembly: Akka.dll
    Syntax
    public sealed class Tcp.CommandFailed : Tcp.Event, INoSerializationVerificationNeeded

    Constructors

    | Edit this page View Source

    CommandFailed(Command)

    Declaration
    public CommandFailed(Tcp.Command cmd)
    Parameters
    Type Name Description
    Tcp.Command cmd
    | Edit this page View Source

    CommandFailed(Command, Option<Exception>)

    Declaration
    public CommandFailed(Tcp.Command cmd, Option<Exception> ex)
    Parameters
    Type Name Description
    Tcp.Command cmd
    Option<Exception> ex

    Properties

    | Edit this page View Source

    Cause

    Optionally contains the cause why the command failed.

    Declaration
    public Option<Exception> Cause { get; }
    Property Value
    Type Description
    Option<Exception>
    | Edit this page View Source

    Cmd

    The original command which failed.

    Declaration
    public Tcp.Command Cmd { get; }
    Property Value
    Type Description
    Tcp.Command

    Methods

    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    INoSerializationVerificationNeeded

    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