ChiakiYu.Common.Web.WebHelper.Return403 C# (CSharp) Method

Return403() public static method

返回 StatusCode 403
public static Return403 ( HttpContext httpContext ) : void
httpContext System.Web.HttpContext HttpContext
return void
        public static void Return403(HttpContext httpContext)
        {
            ReturnStatusCode(httpContext, 403, null, false);
            if (httpContext != null)
            {
                httpContext.Response.SuppressContent = true;
                httpContext.Response.End();
            }
        }