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