コード例 #1
0
        /*
         * Process one ISAPI request
         *
         * @param ecb ECB
         */
        /// <include file='doc\StateRuntime.uex' path='docs/doc[@for="StateRuntime.ProcessRequest"]/*' />
        /// <devdoc>
        ///    <para>[To be supplied.]</para>
        /// </devdoc>
        public void ProcessRequest(
            IntPtr tracker,
            int verb,
            string uri,
            int exclusive,
            int timeout,
            int lockCookieExists,
            int lockCookie,
            int contentLength,
            IntPtr content
            )
        {
            StateHttpWorkerRequest wr;

            wr = new StateHttpWorkerRequest(
                tracker, (UnsafeNativeMethods.StateProtocolVerb)verb, uri,
                (UnsafeNativeMethods.StateProtocolExclusive)exclusive, timeout,
                lockCookieExists, lockCookie, contentLength, content);

            HttpRuntime.ProcessRequest(wr);
        }
コード例 #2
0
        /*
         * Process one ISAPI request
         *
         * @param ecb ECB
         */

        /// <devdoc>
        ///    <para>[To be supplied.]</para>
        /// </devdoc>
        public void ProcessRequest(
                  IntPtr tracker,
                  int verb,
                  string uri,
                  int exclusive,
                  int extraFlags,
                  int timeout,
                  int lockCookieExists,
                  int lockCookie,
                  int contentLength,
                  IntPtr content
                  ) {

            StateHttpWorkerRequest  wr;

            wr = new StateHttpWorkerRequest(
                       tracker, (UnsafeNativeMethods.StateProtocolVerb) verb, uri, 
                       (UnsafeNativeMethods.StateProtocolExclusive) exclusive, extraFlags, timeout, 
                       lockCookieExists, lockCookie, contentLength, content);

            HttpRuntime.ProcessRequest(wr);
        }