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