Пример #1
0
 public SystemService_ServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(SystemService_ServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #2
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(SystemService_ServiceClient.GetEndpointAddress(EndpointConfiguration.SystemService_Service));
 }
Пример #3
0
 public SystemService_ServiceClient() :
     base(SystemService_ServiceClient.GetDefaultBinding(), SystemService_ServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.SystemService_Service.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #4
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(SystemService_ServiceClient.GetBindingForEndpoint(EndpointConfiguration.SystemService_Service));
 }