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