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
ModifyFailure
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
Properties
|
Edit this page
View Source
Cause
Returns a cause of the exception.
Declaration
public Exception Cause { get; }
Property Value
|
Edit this page
View Source
ErrorMessage
Declaration
public string ErrorMessage { get; }
Property Value
|
Edit this page
View Source
IsSuccessful
Returns true if Update request has completed successfully.
Declaration
public bool IsSuccessful { get; }
Property Value
|
Edit this page
View Source
Key
Key, under with updated data is going to be stored.
Declaration
Property Value
|
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
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
Overrides
Implements
Extension Methods