MobilePage.InitOutputCache 메서드

정의

현재 페이지 요청에 대한 출력 캐시를 초기화합니다. 이 API는 사용되지 않습니다. ASP.NET 모바일 애플리케이션을 개발하는 방법에 대한 자세한 내용은 모빌 앱 및 ASP.NET 있는 사이트입니다.

오버로드

Name Description
InitOutputCache(Int32, String, String, OutputCacheLocation, String)

현재 페이지 요청에 대한 출력 캐시를 초기화합니다. 이 API는 사용되지 않습니다. ASP.NET 모바일 애플리케이션을 개발하는 방법에 대한 자세한 내용은 모빌 앱 및 ASP.NET 있는 사이트입니다.

InitOutputCache(Int32, String, String, String, OutputCacheLocation, String)

현재 페이지 요청에 대한 출력 캐시를 초기화합니다. 이 API는 사용되지 않습니다. ASP.NET 모바일 애플리케이션을 개발하는 방법에 대한 자세한 내용은 모빌 앱 및 ASP.NET 있는 사이트입니다.

설명

InitOutputCache .NET Framework 버전 3.5에 도입되었습니다. 자세한 내용은 버전 및 종속성을 참조하세요.

InitOutputCache(Int32, String, String, OutputCacheLocation, String)

현재 페이지 요청에 대한 출력 캐시를 초기화합니다. 이 API는 사용되지 않습니다. ASP.NET 모바일 애플리케이션을 개발하는 방법에 대한 자세한 내용은 모빌 앱 및 ASP.NET 있는 사이트입니다.

protected:
 override void InitOutputCache(int duration, System::String ^ varyByHeader, System::String ^ varyByCustom, System::Web::UI::OutputCacheLocation location, System::String ^ varyByParam);
protected override void InitOutputCache(int duration, string varyByHeader, string varyByCustom, System.Web.UI.OutputCacheLocation location, string varyByParam);
override this.InitOutputCache : int * string * string * System.Web.UI.OutputCacheLocation * string -> unit
Protected Overrides Sub InitOutputCache (duration As Integer, varyByHeader As String, varyByCustom As String, location As OutputCacheLocation, varyByParam As String)

매개 변수

duration
Int32

출력 캐시에 저장된 개체가 유효한 시간입니다.

varyByHeader
String

출력 캐시의 콘텐츠가 달라질 수 있는 세미콜론으로 구분된 헤더 목록입니다.

varyByCustom
String

HTTP 헤더입니다 Vary .

location
OutputCacheLocation

값 중 OutputCacheLocation 하나입니다.

varyByParam
String

GET 또는 POST 메서드에서 수신하는 세미콜론으로 구분된 매개 변수 목록은 출력 캐시의 콘텐츠에 따라 달라집니다.

설명

이 멤버는 Page.InitOutputCache 다른 태그 디바이스에 대한 페이지 출력의 올바른 캐싱을 제공하기 위해 더 많은 VaryByHeader 키워드를 추가하도록 메서드를 재정의합니다.

추가 정보

적용 대상

InitOutputCache(Int32, String, String, String, OutputCacheLocation, String)

현재 페이지 요청에 대한 출력 캐시를 초기화합니다. 이 API는 사용되지 않습니다. ASP.NET 모바일 애플리케이션을 개발하는 방법에 대한 자세한 내용은 모빌 앱 및 ASP.NET 있는 사이트입니다.

protected:
 override void InitOutputCache(int duration, System::String ^ varyByContentEncoding, System::String ^ varyByHeader, System::String ^ varyByCustom, System::Web::UI::OutputCacheLocation location, System::String ^ varyByParam);
protected override void InitOutputCache(int duration, string varyByContentEncoding, string varyByHeader, string varyByCustom, System.Web.UI.OutputCacheLocation location, string varyByParam);
override this.InitOutputCache : int * string * string * string * System.Web.UI.OutputCacheLocation * string -> unit
Protected Overrides Sub InitOutputCache (duration As Integer, varyByContentEncoding As String, varyByHeader As String, varyByCustom As String, location As OutputCacheLocation, varyByParam As String)

매개 변수

duration
Int32

출력 캐시에 저장된 개체가 유효한 시간입니다.

varyByContentEncoding
String

출력 캐시의 콘텐츠가 달라지는 문자 집합(콘텐츠 인코딩)의 세미콜론으로 구분된 목록입니다.

varyByHeader
String

출력 캐시의 콘텐츠가 달라질 수 있는 세미콜론으로 구분된 헤더 목록입니다.

varyByCustom
String

HTTP 헤더입니다 Vary .

location
OutputCacheLocation

값 중 OutputCacheLocation 하나입니다.

varyByParam
String

GET 또는 POST 메서드에서 수신하는 세미콜론으로 구분된 매개 변수 목록은 출력 캐시의 콘텐츠에 따라 달라집니다.

설명

이 멤버는 Page.InitOutputCache 다른 태그 디바이스에 대한 페이지 출력의 올바른 캐싱을 제공하기 위해 더 많은 VaryByHeader 키워드를 추가하도록 메서드를 재정의합니다.

추가 정보

적용 대상