InternalGetHeaders() private method

private InternalGetHeaders ( ) : System.Runtime.Remoting.Messaging.Header[]
return System.Runtime.Remoting.Messaging.Header[]
Ejemplo n.º 1
0
        [System.Security.SecurityCritical]  // auto-generated
        public static Header[] GetHeaders()
        {
            // Header is mutable, so we need to get these from a mutable ExecutionContext
            LogicalCallContext lcc = Thread.CurrentThread.GetMutableExecutionContext().LogicalCallContext;

            return(lcc.InternalGetHeaders());
        } // GetHeaders
Ejemplo n.º 2
0
        /// <include file='doc\CallContext.uex' path='docs/doc[@for="CallContext.GetHeaders"]/*' />
        public static Header[] GetHeaders()
        {
            LogicalCallContext lcc = Thread.CurrentThread.GetLogicalCallContext();

            return(lcc.InternalGetHeaders());
        } // GetHeaders
Ejemplo n.º 3
0
        public static Header[] GetHeaders()
        {
            LogicalCallContext logicalCallContext = Thread.CurrentThread.GetMutableExecutionContext().LogicalCallContext;

            return(logicalCallContext.InternalGetHeaders());
        }