Event OnMessageRecieved
Event to register subscriber against the topic so that it can receive published messages.
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
event MessageReceivedCallback OnMessageRecieved
Returns
Type | Description |
---|---|
MessageReceivedCallback | Callback for receiving messages in application. |
Examples
The following example registers the message received callback on topic subscription
topicSubscription.OnMessageRecieved += messageReceivedCallback;