private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(EmailPortTypeClient.GetEndpointAddress(EndpointConfiguration.EmailPort)); }
public EmailPortTypeClient(EndpointConfiguration endpointConfiguration) : base(EmailPortTypeClient.GetBindingForEndpoint(endpointConfiguration), EmailPortTypeClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }