Share via


DisconnectedReason Enum

Definition

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.

Applies to