public PooledDispatchChannel(PooledDispatchConnector connector, IMessagingChannel channel, int token) { if (connector == null) throw new ArgumentNullException("connector"); if (channel == null) throw new ArgumentNullException("channel"); if (token < 0) throw new ArgumentException("The token greater than or equal to zero.", "token"); this.connector = connector; this.channel = channel; this.token = token; }
public PooledDispatchChannel(PooledDispatchConnector connector, IMessagingChannel channel, int token) { if (connector == null) { throw new ArgumentNullException("connector"); } if (channel == null) { throw new ArgumentNullException("channel"); } if (token < 0) { throw new ArgumentException("The token greater than or equal to zero.", "token"); } this.connector = connector; this.channel = channel; this.token = token; }