NamedPipeServerStream.EndWaitForConnection(IAsyncResult) Methode

Definitie

Hiermee wordt een asynchrone bewerking beëindigd om te wachten tot een client verbinding heeft gemaakt.

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)

Parameters

asyncResult
IAsyncResult

De asynchrone aanvraag die in behandeling is.

Kenmerken

Uitzonderingen

asyncResult is null.

De pijp is niet asynchroon geopend.

– of –

De pijpgreep is niet ingesteld.

De pijpverbinding is verbroken.

De pijp is gesloten.

Opmerkingen

EndWaitForConnection moet precies één keer worden aangeroepen voor elke aanroep naar BeginWaitForConnection.

Van toepassing op