public QueueApi(string queueName, HostProtocol protocol, string endpoint, int port, string hostName) : this() { _QueueName = queueName; _HostProtocol = protocol; RemoteHostAddress = endpoint;// QueueHost.GetRawAddress(protocol,serverName,port, hostName); RemoteHostPort = port; Protocol = protocol.GetProtocol(); }