public IChannel CreateChannel(bool transacted, AcknowledgeMode acknowledgeMode, int prefetchHigh, int prefetchLow) { CheckNotClosed(); if (ChannelLimitReached()) { throw new ChannelLimitReachedException(_maximumChannelCount); } else { CreateChannelFailoverSupport operation = new CreateChannelFailoverSupport(this, transacted, acknowledgeMode, prefetchHigh, prefetchLow); return((IChannel)operation.execute(this)); } }
public IChannel CreateChannel(bool transacted, AcknowledgeMode acknowledgeMode, int prefetchHigh, int prefetchLow) { CheckNotClosed(); if (ChannelLimitReached()) { throw new ChannelLimitReachedException(_maximumChannelCount); } else { CreateChannelFailoverSupport operation = new CreateChannelFailoverSupport(this, transacted, acknowledgeMode, prefetchHigh, prefetchLow); return (IChannel)operation.execute(this); } }