DynamicDataRouteHandler.GetRequestContext(HttpContext) 메서드

정의

RequestContext 현재 웹 요청에 대한 인스턴스를 반환합니다.

public:
 static System::Web::Routing::RequestContext ^ GetRequestContext(System::Web::HttpContext ^ httpContext);
public static System.Web.Routing.RequestContext GetRequestContext(System.Web.HttpContext httpContext);
static member GetRequestContext : System.Web.HttpContext -> System.Web.Routing.RequestContext
Public Shared Function GetRequestContext (httpContext As HttpContext) As RequestContext

매개 변수

httpContext
HttpContext

웹 요청과 연결된 컨텍스트 정보입니다.

반품

웹 요청에 대한 요청 컨텍스트입니다.

예외

httpContextnull입니다.

설명

필요한 경우 새 컨텍스트가 만들어집니다. 현재 요청이 동적 데이터 요청이 아닌 경우 발생할 수 있습니다.

적용 대상