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
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.