Collapse All Expand All

.NET Framework Class Library
Admin Class See Also

[TIBCO.EMS .NET Admin client library 6.0 documentation]

Create the durable with given name and client ID.

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

# Syntax

    public void CreateDurable(
    	string topicName,
    	string durableName,
    	string clientID,
    	string selector,
    	bool nolocal,
    	bool route
    )

    Public Sub CreateDurable ( _
    	topicName As String, _
    	durableName As String, _
    	clientID As String, _
    	selector As String, _
    	nolocal As Boolean, _
    	route As Boolean _
    )

    public:
    void CreateDurable(
    	String^ topicName,
    	String^ durableName,
    	String^ clientID,
    	String^ selector,
    	bool nolocal,
    	bool route
    )

#### Parameters

topicName
  Type: System..::.String
  The name of topic on which to create durable.

durableName
  Type: System..::.String
  The name of the durable to create.

clientID
  Type: System..::.String
  The client ID associated with the durable (can be null).

selector
  Type: System..::.String
  The selector associated with the durable (can be null).

nolocal
  Type: System..::.Boolean
  Prevents reception of messages sent on this session.

route
  Type: System..::.Boolean
  Designates this as a durable for another server.

# Exceptions

Exception | Condition
--- | ---
TIBCO.EMS.ADMIN..::.AdminException | if not authorized or an error occurred.
TIBCO.EMS.ADMIN..::.AdminInvalidNameException | if durableName is not a legal name.

# See Also

Admin Class
TIBCO.EMS.ADMIN Namespace