System.IO.Pipes.NamedPipeServerStream.BeginWaitForConnection Method

Begins an asynchronous operation to wait for a client to connect.

Syntax

public IAsyncResult BeginWaitForConnection (AsyncCallback callback, object state)

Parameters

callback
The method to call when a client connects to the System.IO.Pipes.NamedPipeServerStream object.
state
A user-provided object that distinguishes this particular asynchronous request from other requests.

Returns

An object that references the asynchronous request.

Remarks

Requirements

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