UdpSingleSourceMulticastClient.EndSendToSource(IAsyncResult) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
完成将单播数据包发送到单个源的操作。
public:
void EndSendToSource(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 EndSendToSource(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.EndSendToSource : IAsyncResult -> unit
Public Sub EndSendToSource (result As IAsyncResult)
参数
- result
- IAsyncResult
异步发送操作的结果。
- 属性
例外
result 是空引用(Visual Basic 中没有任何内容)。
多播组尚未加入。
尝试访问套接字时出错。
注解
该方法 EndSendToSource 完成一个异步操作,用于将数据包发送到之前指定的单个源。
如果在执行接收操作时出现套接字故障,则会引发一个 SocketException 。 收到的错误被指定为枚举的成员 SocketError 。