public ServiceEndpoint(ContractDescription contract, Binding binding, EndpointAddress address) { if (contract == null) throw new ArgumentNullException ("contract"); this.contract = contract; this.binding = binding; this.address = address; behaviors = new KeyedByTypeCollection<IEndpointBehavior> (); }