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