Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

[TIBCO.EMS .NET Admin client library 5.1 documentation]

Create a topic based on the parameters from the given TopicInfo.

Namespace: TIBCO.EMS.ADMIN
Assembly: 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.

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace