public NotificationEngineClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(NotificationEngineClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public NotificationEngineClient(EndpointConfiguration endpointConfiguration) : base(NotificationEngineClient.GetBindingForEndpoint(endpointConfiguration), NotificationEngineClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(NotificationEngineClient.GetEndpointAddress(EndpointConfiguration.NetTcpBinding_INotificationEngine)); }
public NotificationEngineClient() : base(NotificationEngineClient.GetDefaultBinding(), NotificationEngineClient.GetDefaultEndpointAddress()) { this.Endpoint.Name = EndpointConfiguration.NetTcpBinding_INotificationEngine.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(NotificationEngineClient.GetBindingForEndpoint(EndpointConfiguration.NetTcpBinding_INotificationEngine)); }