[TIBCO.EMS .NET client library 6.3 documentation]
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Closes the message consumer
Namespace:
TIBCO.EMSAssembly: TIBCO.EMS (in TIBCO.EMS.dll)
Syntax
public void Close() |
Public Sub Close |
public: void Close() |
Remarks
The Close method stops the message consumer from receiving messages and reclaims resources.
If a receive call or a message listener is in progress, then Close waits until that call returns.
Message consumers rely on resources outside the client program. To reclaim these resources in a timely manner, a client should explicitly close message consumer objects (rather than waiting for garbage collection).