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