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