[TIBCO.EMS.UFOCLIENT .NET client library 6.3 documentation]
Assembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)
Unsubscribe a durable topic subscription
Namespace:
TIBCO.EMS.UFOAssembly: 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. |