GetTopicAsync Method
GetTopicAsync<T>(String)
Gets an IHTopic<T> distributed object.
Declaration
Task<IHTopic<T>> GetTopicAsync<T>(string name)
Parameters
String | name | The unique name of the topic. |
Returns
Task<IHTopic<T>> | The topic that was retrieved or created. |
Type Parameters
T | The type of the topic messages. |
Remarks
If an object with the specified name
does not
exist already in the cluster, a new object is created.