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