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 是 null 參考 (在 Visual Basic 中為 Nothing)。

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

備註

方法 EndJoinGroup 會完成非同步系結至通訊端,並將作業聯結至多播群組。

如果執行時間需要, EndJoinGroup 此方法也會執行原則檢查,以確認用戶端是否允許存取多播群組。 如果不允許用戶端存取, SocketException 則會使用 AccessDenied 擲回 。

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

適用於