Click or drag to resize

MsgTMessage Class

A NATS message encapsulating a subject, optional reply payload, and subscription information, sent or received by the client application.
Inheritance Hierarchy
SystemObject
  NATS.ClientMsgTMessage

Namespace:  NATS.Client
Assembly:  Neon.Nats (in Neon.Nats.dll) Version: 2.14.0
Syntax
public class Msg<TMessage>
where TMessage : class, new(), IRoundtripData

Type Parameters

TMessage
The request message type.

The MsgTMessage type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyArrivalSubscription
Returns the ISubscription which received the message.
Public propertyData
Gets or sets the payload of the message.
Public propertyReply
Gets or sets the reply subject.
Public propertySubject
Gets or sets the subject.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Generates a string representation of the messages.
(Overrides ObjectToString.)
Top
See Also