UdpAnySourceMulticastClient.EndSendTo(IAsyncResult) 方法

定義

警告

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

完成傳送單點傳播封包至指定目的地的作業。

public:
 void EndSendTo(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 EndSendTo (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.EndSendTo : IAsyncResult -> unit
Public Sub EndSendTo (result As IAsyncResult)

參數

result
IAsyncResult

非同步傳送作業的結果。

屬性

例外狀況

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

尚未聯結多點傳送群組。

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

備註

EndSendTo方法會完成非同步作業,以將封包傳送至指定的目的地位址。

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

適用於