• System.Web.HttpContext.cs


    ylbtech-System.Web.HttpContext.cs
    1.程序集 System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a返回顶部
    1、
    #region 程序集 System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    // C:Program Files (x86)Reference AssembliesMicrosoftFramework.NETFrameworkv4.5.2System.Web.dll
    #endregion
    
    using System.Collections;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Globalization;
    using System.Security.Principal;
    using System.Threading.Tasks;
    using System.Web.Caching;
    using System.Web.Configuration;
    using System.Web.Instrumentation;
    using System.Web.Profile;
    using System.Web.SessionState;
    using System.Web.WebSockets;
    
    namespace System.Web
    {
        public sealed class HttpContext : IServiceProvider, IPrincipalContainer
        {
            public HttpContext(HttpWorkerRequest wr);
            public HttpContext(HttpRequest request, HttpResponse response);
    
            public static HttpContext Current { get; set; }
            public HttpApplicationState Application { get; }
            public IHttpHandler Handler { get; set; }
            public IHttpHandler PreviousHandler { get; }
            public IHttpHandler CurrentHandler { get; }
            public HttpRequest Request { get; }
            public HttpResponse Response { get; }
            public TraceContext Trace { get; }
            public IDictionary Items { get; }
            public HttpSessionState Session { get; }
            public HttpServerUtility Server { get; }
            public Exception[] AllErrors { get; }
            public HttpApplication ApplicationInstance { get; set; }
            public IPrincipal User { get; set; }
            public ProfileBase Profile { get; }
            public bool SkipAuthorization { get; set; }
            public bool IsDebuggingEnabled { get; }
            public bool IsCustomErrorEnabled { get; }
            public DateTime Timestamp { get; }
            public Cache Cache { get; }
            public PageInstrumentationService PageInstrumentation { get; }
            public bool ThreadAbortOnTimeout { get; set; }
            public Exception Error { get; }
            [EditorBrowsable(EditorBrowsableState.Advanced)]
            public bool AllowAsyncDuringSyncStages { get; set; }
            public bool IsPostNotification { get; }
            public RequestNotification CurrentNotification { get; }
            public string WebSocketNegotiatedProtocol { get; }
            public IList<string> WebSocketRequestedProtocols { get; }
            public bool IsWebSocketRequestUpgrading { get; }
            public bool IsWebSocketRequest { get; }
            public AsyncPreloadModeFlags AsyncPreloadMode { get; set; }
    
            [Obsolete("The recommended alternative is System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection in System.Web.dll. http://go.microsoft.com/fwlink/?linkid=14202")]
            public static object GetAppConfig(string name);
            public static object GetGlobalResourceObject(string classKey, string resourceKey, CultureInfo culture);
            public static object GetGlobalResourceObject(string classKey, string resourceKey);
            public static object GetLocalResourceObject(string virtualPath, string resourceKey, CultureInfo culture);
            public static object GetLocalResourceObject(string virtualPath, string resourceKey);
            public void AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task> userFunc, AspNetWebSocketOptions options);
            public void AcceptWebSocketRequest(Func<AspNetWebSocketContext, Task> userFunc);
            public void AddError(Exception errorInfo);
            public ISubscriptionToken AddOnRequestCompleted(Action<HttpContext> callback);
            public void ClearError();
            public ISubscriptionToken DisposeOnPipelineCompleted(IDisposable target);
            [Obsolete("The recommended alternative is System.Web.HttpContext.GetSection in System.Web.dll. http://go.microsoft.com/fwlink/?linkid=14202")]
            public object GetConfig(string name);
            public object GetSection(string sectionName);
            public void RemapHandler(IHttpHandler handler);
            public void RewritePath(string filePath, string pathInfo, string queryString);
            public void RewritePath(string filePath, string pathInfo, string queryString, bool setClientFilePath);
            public void RewritePath(string path, bool rebaseClientPath);
            public void RewritePath(string path);
            public void SetSessionStateBehavior(SessionStateBehavior sessionStateBehavior);
        }
    }
    2、
    2.返回顶部
     
    3.返回顶部
     
    4.返回顶部
     
    5.返回顶部
     
     
    6.返回顶部
     
    warn 作者:ylbtech
    出处:http://ylbtech.cnblogs.com/
    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    小熊派接入华为IOT
    VS2022 C++ 支持热重载
    Go入门笔记43HGet查询
    Go入门笔记45在WSL2上测试串口编程
    Yarn全新安装
    EdgexGo2.0学习19 no secty依然提示让输入token
    Ubuntu20.04安装Emqx
    shell脚本中echo显示内容带颜色
    EdgexGo2.0学习20 编译EdgeX Go UI
    EdgexGo2.0学习18 消息总线目标
  • 原文地址:https://www.cnblogs.com/storebook/p/9063159.html
Copyright © 2020-2023  润新知