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