[TIBCO.EMS .NET client library 5.1 documentation]

Closes the message producer.

Namespace:  TIBCO.EMS
Assembly:  TIBCO.EMS (in TIBCO.EMS.dll)

Syntax

public void Close()
Public Sub Close
public:
void Close()

Remarks

Destroy the producer object and reclaim resources.

Message producers rely on resources outside the client program. To reclaim these resources in a timely manner, we recommend that client programs explicitly close message producer objects (rather than waiting for garbage collection).

See Also