Class MessageEventArgs
Arguments containing details of the received message including the topic, sender and type.
Inheritance
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class MessageEventArgs : EventArgs
Constructors
Name | Description |
---|---|
MessageEventArgs(IMessage, DeliveryOption, ITopic, String) | This constructor of class MessageEventArgs creates an instance of class with message to be delivered, DeliveryOption, topic to which message belongs, and the topic on which message is published. |
Properties
Name | Description |
---|---|
DeliveryOption | This property specifies how message should be delivered. |
Message | A message contains the actual data object which is sent by the publisher and delivered to the interested subscribers for the topic. NCache provides the Message class which implements the IMessage interface to create a message. |
Topic | This property specifies the topic to which the message belongs. |
TopicName | This property specifies the topic name on which the message is published. |