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