Click or drag to resize

MessageId Structure

[This is preliminary documentation and is subject to change.]

The message id in JSON RPC requests.

Namespace:  JsonRpc.Messages
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
[JsonConverterAttribute(typeof(MessageIdJsonConverter))]
public struct MessageId : IEquatable<MessageId>

The MessageId type exposes the following members.

Constructors
  NameDescription
Public methodMessageId(Int32)
Initializes a new instance of the MessageId class
Public methodMessageId(Int64)
Initializes a new instance of the MessageId class
Public methodMessageId(String)
Initializes a new instance of the MessageId class
Top
Properties
  NameDescription
Public propertyValue
The underlying value of the Id.
Top
Methods
  NameDescription
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(MessageId)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueTypeToString.)
Top
Operators
Fields
  NameDescription
Public fieldStatic memberEmpty
Represents an empty MessageId.
Top
See Also