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