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
SerializationInfoSerialization info.
context
StreamingContextStreaming context.
ConnectionLostException(string?)
Initializes a new instance of the ConnectionLostException class.
public ConnectionLostException(string? message)
Parameters
message
stringThe message that describes the error.
ConnectionLostException(string?, Exception?)
Initializes a new instance of the ConnectionLostException class.
public ConnectionLostException(string? message, Exception? innerException)