コード例 #1
0
 public NamedPipeChannel(string serverName, string pipeName, NamedPipeChannelOptions options) :
     this(() => NamedPipeStreamFactory.CreateClient(serverName, pipeName, options), options.ConnectionTimeout)
 {
     this.ConnectionTimeout = options.ConnectionTimeout;
 }
コード例 #2
0
 public NamedPipeChannel(string serverName, string pipeName, NamedPipeChannelOptions options)
 {
     _serverName = serverName;
     _pipeName   = pipeName;
     _options    = options;
 }