Пример #1
0
 public ManualEmailSenderClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(ManualEmailSenderClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #2
0
 public ManualEmailSenderClient(EndpointConfiguration endpointConfiguration) :
     base(ManualEmailSenderClient.GetBindingForEndpoint(endpointConfiguration), ManualEmailSenderClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #3
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ManualEmailSenderClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IManualEmailSender));
 }
Пример #4
0
 public ManualEmailSenderClient() :
     base(ManualEmailSenderClient.GetDefaultBinding(), ManualEmailSenderClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IManualEmailSender.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #5
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(ManualEmailSenderClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IManualEmailSender));
 }