語言

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 是空參考(Visual Basic 中無任何參考)。

多播團隊尚未加入。

這些 UdpAnySourceMulticastClient 已經被處理掉了。

嘗試存取該套接字時發生錯誤。

備註

此 EndSendTo 方法完成非同步操作,將封包傳送至指定的目的地址。

若執行接收操作時套接字故障,會拋出 a SocketException 。 接收到的錯誤會被指定為列舉的成員 SocketError 。

適用於