An NDoc Documented Class Library

ISession.CreateDurableSubscriber Method (IDestination, String)

Creates a durable subscriber.

IMessageConsumer CreateDurableSubscriber(
   IDestination topic,
   string name
);

Parameters

topic
The topic on which to receive messages.
name
The subscription name.

Return Value

A new durable subscriber.

Exceptions

Exception Type Condition
MsgException Thrown when an error occurs creating the durable subscriber.
InvalidDestinationException Thrown when an invalid destination is specified.

See Also

ISession Interface | webMethods.Msg Namespace | ISession.CreateDurableSubscriber Overload List