System.Net.Dns.Dns.BeginGetHostByName C# (CSharp) Method

BeginGetHostByName() private method

private BeginGetHostByName ( string hostName, AsyncCallback requestCallback, object stateObject ) : IAsyncResult
hostName string
requestCallback AsyncCallback
stateObject object
return IAsyncResult
		public static IAsyncResult BeginGetHostByName (string hostName,
			AsyncCallback requestCallback, object stateObject)
		{
			if (hostName == null)
				throw new ArgumentNullException ("hostName");

			GetHostByNameCallback c = new GetHostByNameCallback (GetHostByName);
			return c.BeginInvoke (hostName, requestCallback, stateObject);
		}