System.IO.Pipes.NamedPipeServerStream.WaitForConnection Method

Waits for a client to connect to this System.IO.Pipes.NamedPipeServerStream object.

Syntax

public void WaitForConnection ()

Remarks

Calling this method causes the System.IO.Pipes.NamedPipeServerStream object to block until a client connects.

Requirements

Namespace: System.IO.Pipes
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 4.0.0.0