public AgencyReconRptAGWClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(AgencyReconRptAGWClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(AgencyReconRptAGWClient.GetBindingForEndpoint(EndpointConfiguration.AgencyReconRptAGW)); }
public AgencyReconRptAGWClient(EndpointConfiguration endpointConfiguration) : base(AgencyReconRptAGWClient.GetBindingForEndpoint(endpointConfiguration), AgencyReconRptAGWClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }