public void GetPersonInfoAsync(int id, object userState) { AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(null); GetPersonInfoDelegate worker = new GetPersonInfoDelegate(GetPersonInfoWorker); worker.BeginInvoke(id, userState, asyncOp, null, null); }
public void GetPersonInfoAsync(int id, object userState) { AsyncOperation asyncOp = AsyncOperationManager.CreateOperation(null); var worker = new GetPersonInfoDelegate(GetPersonInfoWorker); worker.BeginInvoke(id, userState, asyncOp, null, null); }