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