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