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

EndResolve() private method

private EndResolve ( IAsyncResult asyncResult ) : IPHostEntry
asyncResult IAsyncResult
return IPHostEntry
		public static IPHostEntry EndResolve (IAsyncResult asyncResult) 
		{
			if (asyncResult == null)
				throw new ArgumentNullException ("asyncResult");
			AsyncResult async = (AsyncResult) asyncResult;
			ResolveCallback cb = (ResolveCallback) async.AsyncDelegate;
			return cb.EndInvoke(asyncResult);
		}