語言

UdpAnySourceMulticastClient.EndJoinGroup(IAsyncResult) 方法

定義

警告

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

完成非同步連接群組操作至多播群組。

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

參數

result
IAsyncResult

這是非同步連接操作的結果。

屬性

例外狀況

result 是空參考(Visual Basic 中無任何參考)。

這些 UdpAnySourceMulticastClient 已經被處理掉了。

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

備註

此 EndJoinGroup 方法完成非同步綁定至套接字與多播群組的連接操作。

若執行時需要,該 EndJoinGroup 方法也會執行政策檢查,以確認客戶端是否被允許存取多播群組。 若客戶端不被允許存取,則拋出 a SocketException 與 AccessDenied。

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

適用於