Class Status.Failure
Indicates the failure of some operation that was requested and includes an Exception describing the underlying cause of the problem.
Inherited Members
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public sealed class Failure : Status
Constructors
| Improve this Doc View SourceFailure(Exception)
Initializes a new instance of the Status.Failure class.
Declaration
public Failure(Exception cause)
Parameters
Type | Name | Description |
---|---|---|
Exception | cause | The cause of the failure |
Failure(Exception, Object)
Initializes a new instance of the Status.Failure class.
Declaration
public Failure(Exception cause, object state)
Parameters
Type | Name | Description |
---|---|---|
Exception | cause | The cause of the failure |
Object | state | The source state of the failure |
Fields
| Improve this Doc View SourceCause
The cause of the failure
Declaration
public readonly Exception Cause
Field Value
Type | Description |
---|---|
Exception |
State
The source state of the failure It can be used to send the command message back
Declaration
public readonly object State
Field Value
Type | Description |
---|---|
Object |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |