コード例 #1
0
 public Nterface1Client(EndpointConfiguration endpointConfiguration) :
     base(Nterface1Client.GetBindingForEndpoint(endpointConfiguration), Nterface1Client.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #2
0
 public Nterface1Client(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(Nterface1Client.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #3
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(Nterface1Client.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_INterface1));
 }