1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4 
5 using System.ComponentModel;
6 
7 namespace System.Net.NetworkInformation
8 {
PingCompletedEventHandler(object sender, PingCompletedEventArgs e)9     public delegate void PingCompletedEventHandler(object sender, PingCompletedEventArgs e);
10 
11     public class PingCompletedEventArgs : AsyncCompletedEventArgs
12     {
PingCompletedEventArgs(PingReply reply, Exception error, bool cancelled, object userToken)13         internal PingCompletedEventArgs(PingReply reply, Exception error, bool cancelled, object userToken) : base(error, cancelled, userToken)
14         {
15             Reply = reply;
16         }
17 
18         public PingReply Reply { get; }
19     }
20 }
21