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