NamedPipeServerStream.EndWaitForConnection(IAsyncResult) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
結束一個非同步操作,等待用戶端連線。
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
待處理的非同步請求。
- 屬性
例外狀況
asyncResult 是 null。
管線連接斷了。
管子已經關閉。
備註
EndWaitForConnection每次呼叫 必須精確地呼叫一次。BeginWaitForConnection