NamedPipeServerStream.EndWaitForConnection(IAsyncResult) 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.
Ends an asynchronous operation to wait for a client to connect.
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
The pending asynchronous request.
- Attributes
Exceptions
asyncResult
is null
.
The pipe was not opened asynchronously.
-or-
The pipe handle has not been set.
The pipe connection has been broken.
The pipe is closed.
Remarks
EndWaitForConnection must be called exactly once for every call to BeginWaitForConnection.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.