PipeServer.connect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Waits for a client to connect to the named pipe.
public:
virtual bool connect();
public virtual bool connect ();
abstract member connect : unit -> bool
override this.connect : unit -> bool
Public Overridable Function connect () As Boolean
Returns
true if the method succeeds; otherwise, false.
Remarks
If you do not want to block the current thread if it is waiting for a client to connect, avoid using the PipeServer.connect method, and poll by using the PipeServer.read method instead.