语言

Ping.SendAsyncCancel 方法

定义

取消所有挂起的异步请求以发送 Internet 控制消息协议(ICMP)回显消息并接收相应的 ICMP 回显回复消息。

public:
 void SendAsyncCancel();
public void SendAsyncCancel();
member this.SendAsyncCancel : unit -> unit
Public Sub SendAsyncCancel ()

注解

调用此方法以终止对 SendAsync 尚未完成的任何调用。

适用于