Skip to content

Commit 65771ac

Browse files
ktbsjcoopermairaw
authored andcommitted
Fix Documentation (#3370)
Fix mismatched descriptions of Ping.SendAsync timeout and buffer
1 parent 7728574 commit 65771ac

File tree

1 file changed

+2
-2
lines changed
  • xml/System.Net.NetworkInformation

1 file changed

+2
-2
lines changed

xml/System.Net.NetworkInformation/Ping.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,8 +1545,8 @@
15451545
</Parameters>
15461546
<Docs>
15471547
<param name="hostNameOrAddress">A <see cref="T:System.String" /> that identifies the computer that is the destination for the ICMP echo message. The value specified for this parameter can be a host name or a string representation of an IP address.</param>
1548-
<param name="timeout">A <see cref="T:System.Byte" /> array that contains data to be sent with the ICMP echo message and returned in the ICMP echo reply message. The array cannot contain more than 65,500 bytes.</param>
1549-
<param name="buffer">An <see cref="T:System.Int32" /> value that specifies the maximum number of milliseconds (after sending the echo message) to wait for the ICMP echo reply message.</param>
1548+
<param name="timeout">An <see cref="T:System.Int32" /> value that specifies the maximum number of milliseconds (after sending the echo message) to wait for the ICMP echo reply message.</param>
1549+
<param name="buffer">A <see cref="T:System.Byte" /> array that contains data to be sent with the ICMP echo message and returned in the ICMP echo reply message. The array cannot contain more than 65,500 bytes.</param>
15501550
<param name="options">A <see cref="T:System.Net.NetworkInformation.PingOptions" /> object used to control fragmentation and Time-to-Live values for the ICMP echo message packet.</param>
15511551
<param name="userToken">An object that is passed to the method invoked when the asynchronous operation completes.</param>
15521552
<summary>Asynchronously attempts to send an Internet Control Message Protocol (ICMP) echo message with the specified data buffer to the specified computer, and receive a corresponding ICMP echo reply message from that computer. This overload allows you to specify a time-out value for the operation and control fragmentation and Time-to-Live values for the ICMP packet.</summary>

0 commit comments

Comments
 (0)