public void ResolveHostIP(string name, StoreHostIPDelegate callback) { AsyncStateForIP state = new AsyncStateForIP(new GetHostEntryDelegate(GetHostEntry), callback); state._resolveMethod.BeginInvoke(name, new AsyncCallback(HostIPResolved), state); }
public AsyncStateForIP(GetHostEntryDelegate resolveMethod, StoreHostIPDelegate storeResultMethod) : base(resolveMethod) { _storeResultMethod = storeResultMethod; }