YouConf.Controllers.ConferenceController.HttpUnauthorized C# (CSharp) 메소드

HttpUnauthorized() 보호된 메소드

protected HttpUnauthorized ( ) : System.Web.Mvc.HttpUnauthorizedResult
리턴 System.Web.Mvc.HttpUnauthorizedResult
        protected HttpUnauthorizedResult HttpUnauthorized()
        {
            throw new HttpException((int)HttpStatusCode.Unauthorized, "Current user is does not have permission to access this page");
        }