Table of Contents

Class ConnectionLostException

Namespace
StreamJsonRpc
Assembly
StreamJsonRpc.dll

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.

[Serializable]
public class ConnectionLostException : RemoteRpcException, ISerializable
Inheritance
ConnectionLostException
Implements
Inherited Members

Constructors

ConnectionLostException()

Initializes a new instance of the ConnectionLostException class.

public ConnectionLostException()

ConnectionLostException(SerializationInfo, StreamingContext)

Initializes a new instance of the ConnectionLostException class.

protected ConnectionLostException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

Serialization info.

context StreamingContext

Streaming context.

ConnectionLostException(string?)

Initializes a new instance of the ConnectionLostException class.

public ConnectionLostException(string? message)

Parameters

message string

The message that describes the error.

ConnectionLostException(string?, Exception?)

Initializes a new instance of the ConnectionLostException class.

public ConnectionLostException(string? message, Exception? innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.