DotNetWorkQueue.Configuration.QueueConfigurationRpc.QueueConfigurationRpc C# (CSharp) Method

QueueConfigurationRpc() public method

Initializes a new instance of the QueueConfigurationRpc class.
public QueueConfigurationRpc ( TransportConfigurationSend transportConfigurationSend, TransportConfigurationReceive transportConfigurationReceive, IHeaders headerNames ) : DotNetWorkQueue.Validation
transportConfigurationSend TransportConfigurationSend The transport configuration send.
transportConfigurationReceive TransportConfigurationReceive The transport configuration receive.
headerNames IHeaders The header names.
return DotNetWorkQueue.Validation
        public QueueConfigurationRpc(TransportConfigurationSend transportConfigurationSend, 
            TransportConfigurationReceive transportConfigurationReceive,
            IHeaders headerNames)
        {
            Guard.NotNull(() => transportConfigurationSend, transportConfigurationSend);
            Guard.NotNull(() => transportConfigurationReceive, transportConfigurationReceive);
            Guard.NotNull(() => headerNames, headerNames);

            TransportConfigurationSend = transportConfigurationSend;
            TransportConfigurationReceive = transportConfigurationReceive;
            HeaderNames = headerNames;
        }
        #endregion
QueueConfigurationRpc