Esempio n. 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(InterfaceMyPhotoManagerClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_InterfaceMyPhotoManager));
 }
Esempio n. 2
0
 public InterfaceMyPhotoManagerClient(EndpointConfiguration endpointConfiguration) :
     base(InterfaceMyPhotoManagerClient.GetBindingForEndpoint(endpointConfiguration), InterfaceMyPhotoManagerClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }