Exemple #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);
 }
Exemple #2
0
 public ManualEmailSenderClient(EndpointConfiguration endpointConfiguration) :
     base(ManualEmailSenderClient.GetBindingForEndpoint(endpointConfiguration), ManualEmailSenderClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Exemple #3
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ManualEmailSenderClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IManualEmailSender));
 }
Exemple #4
0
 public ManualEmailSenderClient() :
     base(ManualEmailSenderClient.GetDefaultBinding(), ManualEmailSenderClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IManualEmailSender.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Exemple #5
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(ManualEmailSenderClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IManualEmailSender));
 }