public void EndProcessRequest(IAsyncResult ar) { MyAsyncRequestState ars = ar as MyAsyncRequestState; if (ars != null) { ars.Dispose(); } }