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