コード例 #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(PmtNotificationAGWClient.GetEndpointAddress(EndpointConfiguration.PmtNotificationAGW));
 }
コード例 #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(PmtNotificationAGWClient.GetBindingForEndpoint(EndpointConfiguration.PmtNotificationAGW));
 }
コード例 #3
0
 public PmtNotificationAGWClient(EndpointConfiguration endpointConfiguration) :
     base(PmtNotificationAGWClient.GetBindingForEndpoint(endpointConfiguration), PmtNotificationAGWClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #4
0
 public PmtNotificationAGWClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(PmtNotificationAGWClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
コード例 #5
0
 public PmtNotificationAGWClient() :
     base(PmtNotificationAGWClient.GetDefaultBinding(), PmtNotificationAGWClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.PmtNotificationAGW.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }