ClientOfflineException Class
Namespace: Hazelcast.Exceptions
Assembly: Hazelcast.Net.dll
Represents the exception that is thrown when the Hazelcast client is invoked but is not connected.
[Serializable]
public sealed class ClientOfflineException : HazelcastException, ISerializable
Implements
Inherited Members
Remarks
The State property provides the ClientState of the client at the time the exception was thrown. The client may be either not connected at all, in which case retrying an operation will not succeed. Or, it may be temporarily disconnected and trying to reconnect, in which case retrying an operation may eventually succeed.
Constructors
ClientOfflineException(ClientState) | Initializes a new instance of the ClientOfflineException class. |
ClientOfflineException(Exception, ClientState) | Initializes a new instance of the ClientOfflineException class with a reference to the inner exception that is the cause of this exception. |
ClientOfflineException(String, ClientState) | Initializes a new instance of the ClientOfflineException class with a specified error message. |
ClientOfflineException(String, Exception, ClientState) | Initializes a new instance of the ClientOfflineException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Properties
State | Gets the client state. |
Methods
GetObjectData(SerializationInfo, StreamingContext) |