Search Results for

    Show / Hide Table of Contents

    Class Status.Failure

    Indicates the failure of some operation that was requested and includes an Exception describing the underlying cause of the problem.

    Inheritance
    object
    Status
    Status.Failure
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Actor
    Assembly: Akka.dll
    Syntax
    public sealed class Status.Failure : Status

    Constructors

    | Edit this page View Source

    Failure(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

    | Edit this page View Source

    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

    | Edit this page View Source

    Cause

    The cause of the failure

    Declaration
    public readonly Exception Cause
    Field Value
    Type Description
    Exception
    | Edit this page View Source

    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

    | Edit this page View Source

    ToString()

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

    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