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