UdpAnySourceMulticastClient.EndSendTo(IAsyncResult) 方法

定义

注意

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

完成将单播数据包发送到指定目标的操作。

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

参数

result
IAsyncResult

异步发送操作的结果。

属性

例外

result 是空引用(Visual Basic 中没有任何内容)。

多播组尚未加入。

尝试访问套接字时出错。

注解

该方法 EndSendTo 完成异步操作,以将数据包发送到指定的目标地址。

如果在执行接收操作时出现套接字故障,则会引发一个 SocketException 。 收到的错误被指定为枚举的成员 SocketError

适用于