public ContactTypeServiceClient(EndpointConfiguration endpointConfiguration) : base(ContactTypeServiceClient.GetBindingForEndpoint(endpointConfiguration), ContactTypeServiceClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public ContactTypeServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(ContactTypeServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(ContactTypeServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpsBinding_IContactTypeService)); }