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