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
Available since 2.0
Return to top