Show / Hide Table of Contents

# Class ClientDisconnectedException

Indicates that client-mode local node has been disconnected from the cluster.

##### Inheritance

System.Object
System.Exception
IgniteException
ClientDisconnectedException

##### Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception

##### Inherited Members

System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()

###### Namespace: Apache.Ignite.Core.Common

###### Assembly: Apache.Ignite.Core.dll

##### Syntax

    [Serializable]
    public sealed class ClientDisconnectedException : IgniteException, ISerializable, _Exception

### 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
--- | --- | ---
System.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
--- | --- | ---
System.String | message | The message.
System.Exception | cause | The cause.

#### ClientDisconnectedException(String, Exception, Task<Boolean>)

Initializes a new instance of the ClientDisconnectedException class.

##### Declaration

    public ClientDisconnectedException(string message, Exception cause, Task<bool> clientReconnectTask)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | message | The message.
System.Exception | cause | The cause.
System.Threading.Tasks.Task<System.Boolean> | clientReconnectTask | The client reconnect task.

### Properties

#### ClientReconnectTask

Gets the client reconnect task, if present.

##### Declaration

    public Task<bool> ClientReconnectTask { get; }

##### Property Value

Type | Description
--- | ---
System.Threading.Tasks.Task<System.Boolean> | The client reconnect task, or null.

### Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception