[TIBCO.EMS .NET Admin client library 6.3 documentation]
Assembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)
Create a topic based on the parameters from the given TopicInfo.
Namespace:
TIBCO.EMS.ADMINAssembly: TIBCO.EMS.ADMIN (in TIBCO.EMS.ADMIN.dll)
Syntax
public TopicInfo CreateTopic( TopicInfo topic ) |
Public Function CreateTopic ( _ topic As TopicInfo _ ) As TopicInfo |
public: TopicInfo^ CreateTopic( TopicInfo^ topic ) |
Parameters
- topic
- Type: TIBCO.EMS.ADMIN..::.TopicInfo
The description of the topic to be created.
Return Value
The fully configured TopicInfo from the server.
Exceptions
Exception | Condition |
---|---|
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred. |
TIBCO.EMS.ADMIN..::.AdminInvalidNameException | if the name of the topic is not a legal topic name. |
TIBCO.EMS.ADMIN..::.AdminNameExistsException | if a topic already exists with the given name. |