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