Beispiel #1
0
 public LocalServiceClient(EndpointConfiguration endpointConfiguration) :
     base(LocalServiceClient.GetBindingForEndpoint(endpointConfiguration), LocalServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Beispiel #2
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(LocalServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ILocalService));
 }