Ping.SendAsyncCancel Method

Definition

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

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

Remarks

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

Applies to