ISessionSubscribe(IEndpoint, ISubscription, Int32, Object) Method
Add a
ITopic subscription on the endpoint if the operation is supported on the
endpoint (Only endpoints of type
IQueue or type
IClientName support this operation).
OperationErrorException |
Thrown when the Subscribe operation fails, more information will be available in the
OperationErrorException fields. Possible sub-codes:
|
ObjectDisposedException |
Thrown when the session is already disposed (terminal state).
|
FatalErrorException |
Thrown when an unrecoverable error occurs.
|
ArgumentNullException |
Thrown if subscription is null.
|