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