DisconnectedReason Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies a reason for a stream disconnection.
public enum DisconnectedReason
type DisconnectedReason =
Public Enum DisconnectedReason
- Inheritance
-
DisconnectedReason
Fields
Disposed | 3 | The stream was disposed. |
FatalException | 4 | A fatal exception was thrown in a local method that was requested by the remote party. |
LocalContractViolation | 5 | An extensibility point was leveraged locally and broke the contract. |
LocallyDisposed | 2 | The JsonRpc instance was disposed. |
ParseError | 1 | A syntax or schema error while reading a JSON-RPC packet occurred. |
RemotePartyTerminated | 3 | The underlying transport was closed by the remote party. |
RemoteProtocolViolation | 6 | The remote party violated the JSON-RPC protocol. |
StreamError | 0 | An error occurred while accessing the stream. |
Unknown | 0 | Unknown reason. |