Export (0) Print
Expand All
Expand Minimize

PingCompletedEventHandler Delegate

Represents the method that will handle the PingCompleted event of a Ping object.

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

type PingCompletedEventHandler = 
    delegate of  
        sender:Object * 
        e:PingCompletedEventArgs -> unit


Type: System.Object

The source of the PingCompleted event.

Type: System.Net.NetworkInformation.PingCompletedEventArgs

A PingCompletedEventArgs object that contains the event data.

User data that is specified in a SendAsync call is available to the method invoked by this delegate in the UserState property.

The following code example demonstrates specifying a PingCompletedEventHandler to respond to a PingCompleted event.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft