Collapse All Expand All

.NET Framework Class Library
Topic Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Constructs a new Topic object with the given name.

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

# Syntax

    public Topic(
    	string name
    )

    Public Sub New ( _
    	name As String _
    )

    public:
    Topic(
    	String^ name
    )

#### Parameters

name
  Type: System..::.String
  Name of the topic to find or create.

# Remarks

This constructor either creates a dynamic Topic or obtains a Topic object that is already configured on the server.

This constructor creates only local Topic objects (within the program). It does not attempt to lookup the corresponding server Topic object until the program creates a MessageConsumer or a MessageProducer that uses the topic. That automatic lookup can result in either of two outcomes:

- If lookup succeeds, it binds the local Topic object to the server Topic object.
- If lookup fails, the server creates a new dynamic topic.

# See Also

Topic Class
TIBCO.EMS Namespace