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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.