Closes the TopicRequestor and its session.
Namespace:
Kaazing.JMSSince a provider may allocate some resources on behalf of a TopicRequestor, clients should close them when they are not needed. Relying on garbage collection to eventually reclaim these resources may not be timely enough.
Note that this method closes the ITopicSession object passed to the TopicRequestor constructor.
Assembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Public Sub Close |
| C# |
|---|
public void Close() |
| Visual C++ |
|---|
public: void Close() |
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to close the TopicRequestor due to some internal error. |