Collapse All Expand All

.NET Framework Class Library
Session Class See Also

[TIBCO.EMS.UFOCLIENT .NET client library 5.1 documentation]

Unsubscribe a durable topic subscription

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

# Syntax

    public void Unsubscribe(
    	string name
    )

    Public Sub Unsubscribe ( _
    	name As String _
    )

    public:
    void Unsubscribe(
    	String^ name
    )

#### Parameters

name
  Type: System..::.String
  The name of the durable subscriber

# Remarks

This method deletes the named subscription from the server.

# Exceptions

Exception | Condition
--- | ---
EMSException | Attempt to delete an active subscription (while a MessageConsumer or TopicSubscriber exists) or to delete a subscription while one of its messages is either unacknowledged, or uncommitted (in the current transaction).
IllegalStateException | Session is closed.

# See Also

Session Class
TIBCO.EMS.UFO Namespace