public NamedPipeChannel(string serverName, string pipeName, NamedPipeChannelOptions options) : this(() => NamedPipeStreamFactory.CreateClient(serverName, pipeName, options), options.ConnectionTimeout) { this.ConnectionTimeout = options.ConnectionTimeout; }
public NamedPipeChannel(string serverName, string pipeName, NamedPipeChannelOptions options) { _serverName = serverName; _pipeName = pipeName; _options = options; }