Search Results for

    Show / Hide Table of Contents

    Class ModifyFailure

    If the modify function of the Update throws an exception the reply message will be this ModifyFailure message. The original exception is included as Cause.

    Inheritance
    object
    ModifyFailure
    Implements
    IUpdateFailure
    IUpdateResponse
    INoSerializationVerificationNeeded
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.DistributedData
    Assembly: Akka.DistributedData.dll
    Syntax
    [Serializable]
    public sealed class ModifyFailure : IUpdateFailure, IUpdateResponse, INoSerializationVerificationNeeded

    Constructors

    | Edit this page View Source

    ModifyFailure(IKey, string, Exception, object)

    Declaration
    public ModifyFailure(IKey key, string errorMessage, Exception cause, object request)
    Parameters
    Type Name Description
    IKey key
    string errorMessage
    Exception cause
    object request

    Properties

    | Edit this page View Source

    Cause

    Returns a cause of the exception.

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

    ErrorMessage

    Declaration
    public string ErrorMessage { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    IsSuccessful

    Returns true if Update request has completed successfully.

    Declaration
    public bool IsSuccessful { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Key

    Key, under with updated data is going to be stored.

    Declaration
    public IKey Key { get; }
    Property Value
    Type Description
    IKey
    | Edit this page View Source

    Request

    Optional object that can be used to correlate this response with particular Update request.

    Declaration
    public object Request { get; }
    Property Value
    Type Description
    object

    Methods

    | Edit this page View Source

    ThrowOnFailure()

    Throws an exception if Update request has failed.

    Declaration
    public void ThrowOnFailure()
    | Edit this page View Source

    ToString()

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

    Implements

    IUpdateFailure
    IUpdateResponse
    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