Пример #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ProcessServiceClient.GetEndpointAddress(EndpointConfiguration.basicHttpBinding_IProcessService));
 }
Пример #2
0
 public ProcessServiceClient(EndpointConfiguration endpointConfiguration) :
     base(ProcessServiceClient.GetBindingForEndpoint(endpointConfiguration), ProcessServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }