Пример #1
0
 public InterfaceMyPhotoManagerClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(InterfaceMyPhotoManagerClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(InterfaceMyPhotoManagerClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_InterfaceMyPhotoManager));
 }
Пример #3
0
 public InterfaceMyPhotoManagerClient(EndpointConfiguration endpointConfiguration) :
     base(InterfaceMyPhotoManagerClient.GetBindingForEndpoint(endpointConfiguration), InterfaceMyPhotoManagerClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }