NamedPipeServerStream.EndWaitForConnection(IAsyncResult) Methode

Definition

Beendet das Warten eines asynchronen Vorgangs auf das Herstellen einer Verbindung durch einen Client.

public:
 void EndWaitForConnection(IAsyncResult ^ asyncResult);
public void EndWaitForConnection (IAsyncResult asyncResult);
[System.Security.SecurityCritical]
public void EndWaitForConnection (IAsyncResult asyncResult);
member this.EndWaitForConnection : IAsyncResult -> unit
[<System.Security.SecurityCritical>]
member this.EndWaitForConnection : IAsyncResult -> unit
Public Sub EndWaitForConnection (asyncResult As IAsyncResult)

Parameter

asyncResult
IAsyncResult

Die ausstehende asynchrone Anforderung.

Attribute

Ausnahmen

asyncResult ist null.

Die Pipe wurde nicht asynchron geöffnet.

- oder -

Das Pipehandle wurde nicht festgelegt.

Die Pipeverbindung wurde unterbrochen.

Die Pipe ist geschlossen.

Hinweise

EndWaitForConnection muss genau einmal aufgerufen werden, für jeden Aufruf von BeginWaitForConnection.

Gilt für: