System.Net.NameResolution.xml 5.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <doc>
  3. <assembly>
  4. <name>System.Net.NameResolution</name>
  5. </assembly>
  6. <members>
  7. <member name="T:System.Net.Dns">
  8. <summary>Provides simple domain name resolution functionality.</summary>
  9. </member>
  10. <member name="M:System.Net.Dns.GetHostAddressesAsync(System.String)">
  11. <summary>Returns the Internet Protocol (IP) addresses for the specified host as an asynchronous operation.</summary>
  12. <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result" /> property on the task object returns an array of type <see cref="T:System.Net.IPAddress" /> that holds the IP addresses for the host that is specified by the <paramref name="hostNameOrAddress" /> parameter.</returns>
  13. <param name="hostNameOrAddress">The host name or IP address to resolve.</param>
  14. <exception cref="T:System.ArgumentNullException">
  15. <paramref name="hostNameOrAddress" /> is null. </exception>
  16. <exception cref="T:System.ArgumentOutOfRangeException">The length of <paramref name="hostNameOrAddress" /> is greater than 255 characters. </exception>
  17. <exception cref="T:System.Net.Sockets.SocketException">An error is encountered when resolving <paramref name="hostNameOrAddress" />. </exception>
  18. <exception cref="T:System.ArgumentException">
  19. <paramref name="hostNameOrAddress" /> is an invalid IP address.</exception>
  20. </member>
  21. <member name="M:System.Net.Dns.GetHostEntryAsync(System.Net.IPAddress)">
  22. <summary>Resolves an IP address to an <see cref="T:System.Net.IPHostEntry" /> instance as an asynchronous operation.</summary>
  23. <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result" /> property on the task object returns an <see cref="T:System.Net.IPHostEntry" /> instance that contains address information about the host specified in <paramref name="address" />.</returns>
  24. <param name="address">An IP address.</param>
  25. <exception cref="T:System.ArgumentNullException">
  26. <paramref name="address" /> is null. </exception>
  27. <exception cref="T:System.Net.Sockets.SocketException">An error is encountered when resolving <paramref name="address" />. </exception>
  28. <exception cref="T:System.ArgumentException">
  29. <paramref name="address" /> is an invalid IP address.</exception>
  30. </member>
  31. <member name="M:System.Net.Dns.GetHostEntryAsync(System.String)">
  32. <summary>Resolves a host name or IP address to an <see cref="T:System.Net.IPHostEntry" /> instance as an asynchronous operation.</summary>
  33. <returns>Returns <see cref="T:System.Threading.Tasks.Task`1" />.The task object representing the asynchronous operation. The <see cref="P:System.Threading.Tasks.Task`1.Result" /> property on the task object returns an <see cref="T:System.Net.IPHostEntry" /> instance that contains address information about the host specified in <paramref name="hostNameOrAddress" />.</returns>
  34. <param name="hostNameOrAddress">The host name or IP address to resolve.</param>
  35. <exception cref="T:System.ArgumentNullException">The <paramref name="hostNameOrAddress" /> parameter is null. </exception>
  36. <exception cref="T:System.ArgumentOutOfRangeException">The length of <paramref name="hostNameOrAddress" /> parameter is greater than 255 characters. </exception>
  37. <exception cref="T:System.Net.Sockets.SocketException">An error was encountered when resolving the <paramref name="hostNameOrAddress" /> parameter. </exception>
  38. <exception cref="T:System.ArgumentException">The <paramref name="hostNameOrAddress" /> parameter is an invalid IP address. </exception>
  39. </member>
  40. <member name="M:System.Net.Dns.GetHostName">
  41. <summary>Gets the host name of the local computer.</summary>
  42. <returns>A string that contains the DNS host name of the local computer.</returns>
  43. <exception cref="T:System.Net.Sockets.SocketException">An error is encountered when resolving the local host name. </exception>
  44. <PermissionSet>
  45. <IPermission class="System.Net.DnsPermission, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Unrestricted="true" />
  46. </PermissionSet>
  47. </member>
  48. <member name="T:System.Net.IPHostEntry">
  49. <summary>Provides a container class for Internet host address information.</summary>
  50. </member>
  51. <member name="M:System.Net.IPHostEntry.#ctor">
  52. <summary>Initializes a new instance of the <see cref="T:System.Net.IPHostEntry" /> class.</summary>
  53. </member>
  54. <member name="P:System.Net.IPHostEntry.AddressList">
  55. <summary>Gets or sets a list of IP addresses that are associated with a host.</summary>
  56. <returns>An array of type <see cref="T:System.Net.IPAddress" /> that contains IP addresses that resolve to the host names that are contained in the <see cref="P:System.Net.IPHostEntry.Aliases" /> property.</returns>
  57. </member>
  58. <member name="P:System.Net.IPHostEntry.Aliases">
  59. <summary>Gets or sets a list of aliases that are associated with a host.</summary>
  60. <returns>An array of strings that contain DNS names that resolve to the IP addresses in the <see cref="P:System.Net.IPHostEntry.AddressList" /> property.</returns>
  61. </member>
  62. <member name="P:System.Net.IPHostEntry.HostName">
  63. <summary>Gets or sets the DNS name of the host.</summary>
  64. <returns>A string that contains the primary host name for the server.</returns>
  65. </member>
  66. </members>
  67. </doc>