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