System.Net.NetworkInformation.PingCompletedEventArgs Class

Provides data for the Ping.PingCompleted event.

See Also: PingCompletedEventArgs Members

Syntax

public class PingCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs

Remarks

Instances of this class are passed to a System.Net.NetworkInformation.PingCompletedEventHandler method that is called when a erload:System.Net.NetworkInformation.Ping.SendAsync call completes. The erload:System.Net.NetworkInformation.Ping.SendAsync methods send an Internet Control Message Protocol (ICMP) echo request asynchronously and wait for a corresponding ICMP echo reply message. The PingCompletedEventArgs.Reply property contains the results of the ICMP echo request.

Requirements

Namespace: System.Net.NetworkInformation
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0