Enum DisconnectedReason
- Namespace
- StreamJsonRpc
- Assembly
- StreamJsonRpc.dll
Identifies a reason for a stream disconnection.
public enum DisconnectedReason
Fields
FatalException = 4A fatal exception was thrown in a local method that was requested by the remote party.
Exceptions thrown by locally dispatched method calls are not considered fatal by default. The virtual method IsFatalException(Exception) may be overridden by an application in order to enable a JSON-RPC server to throw an exception that can terminate the entire connection.
LocalContractViolation = 5An extensibility point was leveraged locally and broke the contract.
LocallyDisposed = 2The JsonRpc instance was disposed.
ParseError = 1A syntax or schema error while reading a JSON-RPC packet occurred.
RemotePartyTerminated = 3The underlying transport was closed by the remote party.
RemoteProtocolViolation = 6The remote party violated the JSON-RPC protocol.
StreamError = 0An error occurred while accessing the stream.