Пример #1
0
 public RoiServiceClient() :
     base(RoiServiceClient.GetDefaultBinding(), RoiServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IRoiService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #2
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(RoiServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IRoiService));
 }
Пример #3
0
 public RoiServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(RoiServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #4
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(RoiServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IRoiService));
 }
Пример #5
0
 public RoiServiceClient(EndpointConfiguration endpointConfiguration) :
     base(RoiServiceClient.GetBindingForEndpoint(endpointConfiguration), RoiServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }