語言

UdpAnySourceMulticastClient.EndSendToGroup(IAsyncResult) 方法

定義

警告

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

多播團隊尚未加入。

這些 UdpAnySourceMulticastClient 已經被處理掉了。

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

備註

此 EndSendToGroup 方法完成一個非同步操作,將封包傳送至多播群組。

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

適用於