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