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