public static IServiceRequest GetRequest(IAsyncResult ar) { ProcessRequestAsyncResult result = ar as ProcessRequestAsyncResult; if (result != null) { return result.m_request; } return null; } #endregion