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