Class Tcp.CommandFailed
Whenever a command cannot be completed, the queried actor will reply with this message, wrapping the original command which failed.
Implements
Inherited Members
Namespace: Akka.IO
Assembly: Akka.dll
Syntax
public sealed class Tcp.CommandFailed : Tcp.Event, INoSerializationVerificationNeeded
Constructors
| Edit this page View SourceCommandFailed(Command)
Declaration
public CommandFailed(Tcp.Command cmd)
Parameters
| Type | Name | Description |
|---|---|---|
| Tcp.Command | cmd |
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 SourceCause
Optionally contains the cause why the command failed.
Declaration
public Option<Exception> Cause { get; }
Property Value
| Type | Description |
|---|---|
| Option<Exception> |
Cmd
The original command which failed.
Declaration
public Tcp.Command Cmd { get; }
Property Value
| Type | Description |
|---|---|
| Tcp.Command |
Methods
| Edit this page View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |
Edit this page