System.Net.NetworkInformation.Ping.SendAsyncCancel C# (CSharp) Method

SendAsyncCancel() public method

public SendAsyncCancel ( ) : void
return void
        public void SendAsyncCancel() { }
        public System.Threading.Tasks.Task<System.Net.NetworkInformation.PingReply> SendPingAsync(System.Net.IPAddress address) { throw null; }

Usage Example

Beispiel #1
0
 /// <summary>
 /// 取消所有挂起的发送 Internet 控制消息协议 (ICMP) 回送消息并接收相应 ICMP 回送答复消息的异步请求。
 /// </summary>
 public void SendAsyncCancel()
 {
     lock (this)
     {
         m_Ping.SendAsyncCancel();
     }
 }
All Usage Examples Of System.Net.NetworkInformation.Ping::SendAsyncCancel