Property Topic
Topic
ITopic instance containing information about the topic.
Declaration
ITopic Topic { get; }
Property Value
Type | Description |
---|---|
ITopic | ITopic instance of the topic. |
Examples
The following example prints the topic name of the subscription.
ITopicSubscription topicSubscription = _topic.CreateSubscription(messageReceivedCallback);
Console.WriteLine("Topic Name : {0}", topicSubscription.Topic.Name);