NamedPipeServerStream.EndWaitForConnection(IAsyncResult) メソッド

定義

クライアントの接続を待機する非同期操作を終了します。

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)

パラメーター

asyncResult
IAsyncResult

保留中の非同期要求。

属性

例外

asyncResultnullです。

パイプが非同期的に開かれていました。

-又は-

パイプ ハンドルが設定されていません。

パイプ接続が切断されました。

パイプが閉じている。

注釈

EndWaitForConnection は、 BeginWaitForConnectionの呼び出しごとに 1 回だけ呼び出す必要があります。

適用対象