Thrown if the lock on the session has expired. Session lock duration is the same as message LockDuration and is an entity-wide setting. It can be initialized through
LockDuration for Queues and Subscriptions respectively.
Thrown when operation times out. Timeout period is initialized through the
MessagingFactorySettings. You may need to increase the value of
OperationTimeout to avoid this exception if timeout value is relatively low.