Class RpcProtocolErrorEventArgs
Namespace: DotBoxD.Services.Diagnostics
Assembly: DotBoxD.Services.dll
Describes a malformed or unsupported protocol frame observed by an DotBoxD.Services.Peer.RpcPeer.
public sealed class RpcProtocolErrorEventArgs : EventArgsInheritance
Section titled “Inheritance”object ← EventArgs ← RpcProtocolErrorEventArgs
Inherited Members
Section titled “Inherited Members”EventArgs.Empty, object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object, object), object.ToString()
Constructors
Section titled “Constructors”RpcProtocolErrorEventArgs(string, int, MessageType, string)
Section titled “ RpcProtocolErrorEventArgs(string, int, MessageType, string)”public RpcProtocolErrorEventArgs(string remoteEndpoint, int messageId, MessageType messageType, string message)Parameters
Section titled “Parameters”remoteEndpoint string
messageId int
messageType MessageType
message string
RpcProtocolErrorEventArgs(string, int, MessageType, string, Exception?)
Section titled “ RpcProtocolErrorEventArgs(string, int, MessageType, string, Exception?)”public RpcProtocolErrorEventArgs(string remoteEndpoint, int messageId, MessageType messageType, string message, Exception? error)Parameters
Section titled “Parameters”remoteEndpoint string
messageId int
messageType MessageType
message string
error Exception?
Properties
Section titled “Properties”The underlying parse or deserialization error, when one was available.
public Exception? Error { get; }Property Value
Section titled “Property Value”Message
Section titled “ Message”A safe diagnostic message describing the protocol problem.
public string Message { get; }Property Value
Section titled “Property Value”MessageId
Section titled “ MessageId”The message id from the frame header, or 0 when the header was malformed.
public int MessageId { get; }Property Value
Section titled “Property Value”MessageType
Section titled “ MessageType”The message type from the frame header, or default when the header was malformed.
public MessageType MessageType { get; }Property Value
Section titled “Property Value”RemoteEndpoint
Section titled “ RemoteEndpoint”The remote endpoint string of the channel that sent the frame.
public string RemoteEndpoint { get; }