Class RpcDisconnectedEventArgs
- Namespace
- DotBoxD.Services.Diagnostics
- Assembly
- DotBoxD.Services.dll
Describes why a RpcPeer's read loop ended.
public sealed class RpcDisconnectedEventArgs : EventArgs
- Inheritance
-
RpcDisconnectedEventArgs
- Inherited Members
Constructors
RpcDisconnectedEventArgs(string, Exception?)
public RpcDisconnectedEventArgs(string remoteEndpoint, Exception? error)
Parameters
Properties
Error
The read error, or null when the close was graceful.
public Exception? Error { get; }
Property Value
RemoteEndpoint
The remote endpoint string of the channel that closed.
public string RemoteEndpoint { get; }