UdpAnySourceMulticastClient.EndJoinGroup(IAsyncResult) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 中没有任何内容)。
尝试访问套接字时出错。
注解
该方法 EndJoinGroup 完成对套接字的异步绑定,并将操作加入多播组。
如果运行时需要,该方法 EndJoinGroup 还会执行策略检查,以验证客户端是否允许访问多播组。 如果不允许客户端访问,则会引发 <
如果在执行联接组操作时出现套接字故障,则会引发一个 SocketException 。 收到的错误被指定为枚举的成员 SocketError 。