Exemple #1
0
        /// <summary>
        /// Called at the end of request processing to disconnect the remoting proxy for Connection object
        /// and allow GC to pick it up.
        /// 
        /// 01/06/10 sky: modified signature to enable instrumentation
        /// </summary>
        /// <param name="conn"></param>
        /// <param name="info"></param>
        public virtual void OnRequestEnd(Connection conn, RequestInfo info)
        {
            OnRequestComplete(new RequestEventArgs(info));

            RemotingServices.Disconnect(conn);
        }
 ///<summary>
 ///</summary>
 ///<param name="request"></param>
 public RequestEventArgs(RequestInfo request)
 {
     _request = request;
 }