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