Exemple #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(Service3Client.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IService3));
 }
Exemple #2
0
 public Service3Client(EndpointConfiguration endpointConfiguration) :
     base(Service3Client.GetBindingForEndpoint(endpointConfiguration), Service3Client.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }