Share via


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 为 null 引用(在 Visual Basic 中为 Nothing)。

尚未联接多播组。

尝试访问套接字时出错。

注解

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

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

适用于