Ping.SendAsyncCancel Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Cancels all pending asynchronous requests to send an Internet Control Message Protocol (ICMP) echo message and receives a corresponding ICMP echo reply message.

Namespace:   System.Net.NetworkInformation
Assembly:  System (in System.dll)

member SendAsyncCancel : unit -> unit

Call this method to terminate any calls to SendAsync that have not completed.

.NET Framework
Available since 2.0
Return to top
Show: