Share via


ConnectionLostException Class

Definition

An exception used to fault a Task returned from a JsonRpc request when the request could not be completed or the response cannot be received because the connection dropped.

[System.Serializable]
public class ConnectionLostException : StreamJsonRpc.RemoteRpcException
[<System.Serializable>]
type ConnectionLostException = class
    inherit RemoteRpcException
Public Class ConnectionLostException
Inherits RemoteRpcException
Inheritance
ConnectionLostException
Attributes

Constructors

ConnectionLostException()

Initializes a new instance of the ConnectionLostException class.

ConnectionLostException(SerializationInfo, StreamingContext)

Initializes a new instance of the ConnectionLostException class.

ConnectionLostException(String, Exception)

Initializes a new instance of the ConnectionLostException class.

ConnectionLostException(String)

Initializes a new instance of the ConnectionLostException class.

Properties

DeserializedErrorData

Gets or sets the error.data value in the error response, if one was provided.

(Inherited from RemoteRpcException)
ErrorCode

Gets or sets the value of the error.code field in the response, if one is available.

(Inherited from RemoteRpcException)
ErrorData

Gets or sets the error.data value in the error response, if one was provided.

(Inherited from RemoteRpcException)

Methods

GetObjectData(SerializationInfo, StreamingContext) (Inherited from RemoteRpcException)

Applies to