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