UdpAnySourceMulticastClient.EndSendToGroup(IAsyncResult) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
完成將封包傳送至多點傳送群組的作業。
public:
void EndSendToGroup(IAsyncResult ^ result);
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public void EndSendToGroup (IAsyncResult result);
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)>]
member this.EndSendToGroup : IAsyncResult -> unit
Public Sub EndSendToGroup (result As IAsyncResult)
參數
- result
- IAsyncResult
非同步傳送作業的結果。
- 屬性
例外狀況
result
是 null 參考 (在 Visual Basic 中為 Nothing)。
尚未聯結多點傳送群組。
嘗試存取通訊端時發生錯誤。
備註
方法 EndSendToGroup 會完成異步操作,以將封包傳送至多播群組。
如果執行接收作業時發生套接字失敗, SocketException 則會擲回 。 收到的錯誤會指定為 列舉的成員 SocketError 。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應