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