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