ChiakiYu.Common.Web.WebHelper.Return403 C# (CSharp) Méthode

Return403() public static méthode

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