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