Constructor MessageEventArgs
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.
Declaration
public MessageEventArgs(IMessage message, DeliveryOption deliverOption, ITopic messageTopic, string topicName)
Parameters
Type | Name | Description |
---|---|---|
IMessage | message | Message to be delivered. |
DeliveryOption | deliverOption | How message should be delivered. |
ITopic | messageTopic | Topic to which message belongs. |
System.String | topicName | Topic on which message is published. |