Example #1
0
        //
        // MethodCall -- SOAP uses this constructor
        //

        /// <include file='doc\Message.uex' path='docs/doc[@for="MethodCall.MethodCall"]/*' />
	/// <internalonly/>
        public MethodCall(Header[] h1)
        {
            Message.DebugOut("MethodCall ctor IN headers: " + (h1 == null ? "<null>" : h1.ToString()) + "\n");

            Init();

            fSoap = true;
            FillHeaders(h1);            

            ResolveMethod();

            if (MI != null)
            {
                // Check caller's access to method.
                StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
                Message.MethodAccessCheck(MI, ref stackMark);
            }

            Message.DebugOut("MethodCall ctor OUT\n");

        }
Example #2
0
        [System.Security.SecurityCritical]  // auto-generated
        public MethodCall(Header[] h1)
        {
            Message.DebugOut("MethodCall ctor IN headers: " + (h1 == null ? "<null>" : h1.ToString()) + "\n");

            Init();

            fSoap = true;
            FillHeaders(h1);            

            ResolveMethod();

            Message.DebugOut("MethodCall ctor OUT\n");
        }