public static IAsyncResult BeginResolve (string hostName, AsyncCallback requestCallback, object stateObject) { if (hostName == null) throw new ArgumentNullException ("hostName"); ResolveCallback c = new ResolveCallback (Resolve); return c.BeginInvoke (hostName, requestCallback, stateObject); }