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