ReturnCode Subscribe(
ISubscription subscription,
bool waitForConfirm
)
OperationErrorException | Thrown when the Subscribe operation fails. 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. |