Solclient
ISessionCreateTemporaryTopic Method |
Creates a temporary topic for this session. Only a consumer on this
session should bind to this topic; although clients on other sessions
can publish to it.
Temporary topics can only be used to bind to non-durable endpoints.
Connect must be called before calling this method.
Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
ITopic CreateTemporaryTopic()
Function CreateTemporaryTopic As ITopic
ITopic^ CreateTemporaryTopic()
Return Value
Type: ITopicReturn a temporary topic for this session
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Thrown when the session is already disposed (terminal state). |
OperationErrorException | Thrown when the operation fails. Possible sub-codes: |
See Also