コード例 #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);
 }