Class ClientDisconnectedException
Indicates that client-mode local node has been disconnected from the cluster.
Implements
Inherited Members
Namespace: Apache.Ignite.Core.Common
Assembly: Apache.Ignite.Core.dll
Syntax
[SuppressMessage("Microsoft.Usage", "CA2240:ImplementISerializableCorrectly", Justification = "No need to implement GetObjectData because there are no custom fields.")]
[Serializable]
public sealed class ClientDisconnectedException : IgniteException, ISerializable
Constructors
ClientDisconnectedException()
Initializes a new instance of the ClientDisconnectedException class.
Declaration
public ClientDisconnectedException()
ClientDisconnectedException(string)
Initializes a new instance of the ClientDisconnectedException class.
Declaration
public ClientDisconnectedException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message that describes the error. |
ClientDisconnectedException(string, Exception)
Initializes a new instance of the ClientDisconnectedException class.
Declaration
public ClientDisconnectedException(string message, Exception cause)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message. |
| Exception | cause | The cause. |
ClientDisconnectedException(string, Exception, Task<bool>)
Initializes a new instance of the ClientDisconnectedException class.
Declaration
public ClientDisconnectedException(string message, Exception cause, Task<bool> clientReconnectTask)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The message. |
| Exception | cause | The cause. |
| Task<bool> | clientReconnectTask | The client reconnect task. |
Properties
ClientReconnectTask
Gets the client reconnect task, if present.
Declaration
public Task<bool> ClientReconnectTask { get; }
Property Value
| Type | Description |
|---|---|
| Task<bool> | The client reconnect task, or null. |