Class MessageEventArgs
Arguments containing details of received message including topic, sender and type.
Inheritance
System.Object
MessageEventArgs
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class MessageEventArgs : EventArgs
Constructors
MessageEventArgs(IMessage, DeliveryOption, ITopic)
Creates MessageEventArgs
Declaration
public MessageEventArgs(IMessage message, DeliveryOption deliverOption, ITopic messageTopic)
Parameters
Type | Name | Description |
---|---|---|
IMessage | message | Message to be delivered |
DeliveryOption | deliverOption | How message should be delivered |
ITopic | messageTopic | Topic to which message belongs |
Properties
DeliveryOption
How message should be delivered
Declaration
public DeliveryOption DeliveryOption { get; }
Property Value
Type | Description |
---|---|
DeliveryOption |
Message
Message to be delivered
Declaration
public IMessage Message { get; }
Property Value
Type | Description |
---|---|
IMessage |
Topic
Topic to which message belongs
Declaration
public ITopic Topic { get; }
Property Value
Type | Description |
---|---|
ITopic |