UdpSingleSourceMulticastClient.EndSendToSource(IAsyncResult) 方法

定義

警告

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

完成傳送單點傳播封包至單一來源的作業。

C#
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public void EndSendToSource(IAsyncResult result);

參數

result
IAsyncResult

非同步傳送作業的結果。

屬性

例外狀況

result 是 null 參考 (在 Visual Basic 中為 Nothing)。

尚未聯結多點傳送群組。

嘗試存取通訊端時發生錯誤。

備註

方法 EndSendToSource 會完成異步操作,以將封包傳送至先前指定的單一來源。

如果執行接收作業時發生套接字失敗, SocketException 則會擲回 。 收到的錯誤會指定為 列舉的成員 SocketError

適用於

產品 版本 (已淘汰)
.NET Framework (4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)