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