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