Not Readable Exception Class
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The exception that is thrown when a service partition or a replica cannot accept reads.
[System.Serializable] public class FabricNotReadableException : System.Fabric.FabricTransientException
[<System.Serializable>] type FabricNotReadableException = class inherit FabricTransientException
Public Class FabricNotReadableException Inherits FabricTransientException
The exception can be seen in the following 2 scenarios : 1. The partition does not have a read quorum. 2. The service is trying to read from an IdleSecondary replica.
Handling FabricNotReadableException for Reliable Collections : If FabricNotReadableException is seen by the service or a client call, the exception should be caught, current transaction should be disposed and all the operations should be retried with a new transaction object. Read status will eventually be granted or a non-retriable exception will be thrown. An optional backoff can be added before retrying.
Initializes a new instance of FabricNotReadableException class from a serialized object data, with a specified context.
Initializes a new instance of FabricNotReadableException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Gets the error code parameter.(Inherited from FabricException)