Click or drag to resize
ISessionSubscribe Method
Overload List
  NameDescription
Public methodSubscribe(IListSubscription)
Public methodSubscribe(IListSubscription, Identity)
Public methodSubscribe(IListSubscription, SubscriptionPreprocessMode)
Public methodSubscribe(IListSubscription, String)
Public methodSubscribe(IListSubscription, Identity, SubscriptionPreprocessMode)
Public methodSubscribe(IListSubscription, Identity, String)
Initiates a request to receive asynchronous updates to the specified topics.

Upon completion of this request a SUBSCRIPTION_STATUS event will be published for each topic in the subscription list containing a message with the result for one topic. A "SubscriptionStarted" message will be generated if the subscription was successfully initiated. If the subscription fails for any topic a "SubscriptionFailure" message containing the failure reason will be generated.

Any subscriptions in subscriptionList which were not given a application generated CorrelationID will have a session generated CorrelationID set.

Multiple subscriptions to the same subscription string are valid and each will have their own, unique CorrelationID.

In the case of an exception none of the subscriptions will be processed.

Public methodSubscribe(IListSubscription, String, SubscriptionPreprocessMode)
Public methodSubscribe(IListSubscription, Identity, String, SubscriptionPreprocessMode)
Initiates a request to receive asynchronous updates to the specified topics.

Upon completion of this request a SUBSCRIPTION_STATUS event will be published for each topic in the subscription list containing a message with the result for one topic. A "SubscriptionStarted" message will be generated if the subscription was successfully initiated. If the subscription fails for any topic a "SubscriptionFailure" message containing the failure reason will be generated.

Any subscriptions in subscriptionList which were not given a application generated CorrelationID will have a session generated CorrelationID set.

Multiple subscriptions to the same subscription string are valid and each will have their own, unique CorrelationID.

Top
See Also