C# 클래스 NotFoundMvc.NotFoundViewResult

Renders a view called "NotFound" and sets the response status code to 404. View data is assigned for "RequestedUrl" and "ReferrerUrl".
상속: System.Web.Mvc.HttpNotFoundResult
파일 보기 프로젝트 열기: DevRainSolutions/KyivSmartCity 1 사용 예제들

공개 메소드들

메소드 설명
ExecuteResult ( ControllerContext context ) : void
NotFoundViewResult ( ) : System

비공개 메소드들

메소드 설명
ExtractOriginalUrlFromExecuteUrlModeErrorRequest ( Uri url ) : string

Handles the case when a web.config <error statusCode="404" path="/notfound" responseMode="ExecuteURL" /> is triggered. The original URL is passed via the querystring.

GetReferrerUrl ( System.Web.HttpRequestBase request, string url ) : string
GetRequestedUrl ( System.Web.HttpRequestBase request ) : string

메소드 상세

ExecuteResult() 공개 메소드

public ExecuteResult ( ControllerContext context ) : void
context ControllerContext
리턴 void

NotFoundViewResult() 공개 메소드

public NotFoundViewResult ( ) : System
리턴 System