Interface ITopicSubscription
This interface contains properties and methods of created subscription. It is implemented by TopicSubscription.
Namespace:
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public interface ITopicSubscription
Properties
Topic
Topic of subscription.
Declaration
ITopic Topic { get; }
Property Value
Type | Description |
---|---|
ITopic |
Methods
UnSubscribe()
Unsubscribes topic.
Declaration
void UnSubscribe()
Remarks
You can use this method to unsbscribe the subscription created on a topic. For more information on how to create a subscription see the documentation for ITopic.
Events
OnMessageRecieved
Message is delivered through this callback.
Declaration
event MessageReceivedCallback OnMessageRecieved
Event Type
Type | Description |
---|---|
MessageReceivedCallback |