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