StaticPartialCachingControl.BuildCachedControl 메서드

정의

StaticPartialCachingControl 사용자 컨트롤(.ascx 파일)에서 개체를 빌드하고 포함하는 서버 컨트롤에 추가합니다.

오버로드

Name Description
BuildCachedControl(Control, String, String, Int32, String, String, String, BuildMethod)

StaticPartialCachingControl 사용자 컨트롤(.ascx 파일)에 지정된 매개 변수를 사용하여 개체를 빌드하고 포함하는 서버 컨트롤에 구문 분석된 하위 개체로 추가합니다.

BuildCachedControl(Control, String, String, Int32, String, String, String, String, BuildMethod)

StaticPartialCachingControl 사용자 컨트롤(.ascx 파일)에 지정된 매개 변수를 사용하여 개체를 빌드하고 포함하는 서버 컨트롤에 구문 분석된 하위 개체로 추가합니다.

BuildCachedControl(Control, String, String, Int32, String, String, String, String, BuildMethod, String)

.ascx 파일에 정의된 컨트롤에 대한 클래스의 StaticPartialCachingControl 새 인스턴스를 빌드합니다.

BuildCachedControl(Control, String, String, Int32, String, String, String, BuildMethod)

StaticPartialCachingControl 사용자 컨트롤(.ascx 파일)에 지정된 매개 변수를 사용하여 개체를 빌드하고 포함하는 서버 컨트롤에 구문 분석된 하위 개체로 추가합니다.

public:
 static void BuildCachedControl(System::Web::UI::Control ^ parent, System::String ^ ctrlID, System::String ^ guid, int duration, System::String ^ varyByParams, System::String ^ varyByControls, System::String ^ varyByCustom, System::Web::UI::BuildMethod ^ buildMethod);
public static void BuildCachedControl(System.Web.UI.Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, System.Web.UI.BuildMethod buildMethod);
static member BuildCachedControl : System.Web.UI.Control * string * string * int * string * string * string * System.Web.UI.BuildMethod -> unit
Public Shared Sub BuildCachedControl (parent As Control, ctrlID As String, guid As String, duration As Integer, varyByParams As String, varyByControls As String, varyByCustom As String, buildMethod As BuildMethod)

매개 변수

parent
Control

인스턴스를 포함할 서버 컨트롤입니다 StaticPartialCachingControl .

ctrlID
String

ASP.NET 컨트롤에 할당된 식별자입니다.

guid
String

캐시된 컨트롤에 대한 전역적으로 고유한 식별자입니다.

duration
Int32

컨트롤의 출력이 캐시되는 시간입니다.

varyByParams
String

캐시의 서버 컨트롤을 변경할 쿼리 문자열 또는 폼 POST 매개 변수의 문자열입니다.

varyByControls
String

캐시의 사용자 컨트롤을 변경할 서버 제어 속성을 나열하는 문자열입니다.

varyByCustom
String

사용자 지정 출력 캐시 매개 변수 값을 포함하는 사용자 정의 문자열입니다.

buildMethod
BuildMethod

메서드를 호출하여 컨트롤을 빌드하는 대리자입니다.

설명

BuildCachedControl 메서드는 Microsoft SQL Server 데이터베이스 테이블에 관계 없이 캐시된 컨트롤을 빌드합니다.

BuildCachedControl 메서드는 ASP.NET 페이지 프레임워크에서 사용하기 위한 것이며 개발자가 직접 호출해서는 안 됩니다.

추가 정보

적용 대상

BuildCachedControl(Control, String, String, Int32, String, String, String, String, BuildMethod)

StaticPartialCachingControl 사용자 컨트롤(.ascx 파일)에 지정된 매개 변수를 사용하여 개체를 빌드하고 포함하는 서버 컨트롤에 구문 분석된 하위 개체로 추가합니다.

public:
 static void BuildCachedControl(System::Web::UI::Control ^ parent, System::String ^ ctrlID, System::String ^ guid, int duration, System::String ^ varyByParams, System::String ^ varyByControls, System::String ^ varyByCustom, System::String ^ sqlDependency, System::Web::UI::BuildMethod ^ buildMethod);
public static void BuildCachedControl(System.Web.UI.Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, System.Web.UI.BuildMethod buildMethod);
static member BuildCachedControl : System.Web.UI.Control * string * string * int * string * string * string * string * System.Web.UI.BuildMethod -> unit
Public Shared Sub BuildCachedControl (parent As Control, ctrlID As String, guid As String, duration As Integer, varyByParams As String, varyByControls As String, varyByCustom As String, sqlDependency As String, buildMethod As BuildMethod)

매개 변수

parent
Control

인스턴스를 포함할 서버 컨트롤입니다 StaticPartialCachingControl .

ctrlID
String

ASP.NET 컨트롤에 할당된 식별자입니다.

guid
String

캐시된 컨트롤에 대한 전역적으로 고유한 식별자입니다.

duration
Int32

컨트롤의 출력이 캐시되는 시간입니다.

varyByParams
String

캐시의 서버 컨트롤을 변경할 쿼리 문자열 또는 폼 POST 매개 변수의 문자열입니다.

varyByControls
String

캐시의 사용자 컨트롤을 변경할 서버 제어 속성을 나열하는 문자열입니다.

varyByCustom
String

사용자 지정 출력 캐시 매개 변수 값을 포함하는 사용자 정의 문자열입니다.

sqlDependency
String

Microsoft SQL Server 캐시 종속성에 사용할 데이터베이스와 테이블을 지정하는 세미콜론으로 구분된 문자열입니다.

buildMethod
BuildMethod

메서드를 호출하여 컨트롤을 빌드하는 대리자입니다.

설명

BuildCachedControl 메서드는 sqlDependency 매개 변수로 지정된 SQL Server 데이터베이스 테이블에 대한 관계를 사용하여 캐시된 컨트롤을 빌드합니다.

StaticPartialCachingControl 메서드는 ASP.NET 페이지 프레임워크에서 사용하기 위한 것이며 개발자가 직접 호출해서는 안 됩니다.

추가 정보

적용 대상

BuildCachedControl(Control, String, String, Int32, String, String, String, String, BuildMethod, String)

.ascx 파일에 정의된 컨트롤에 대한 클래스의 StaticPartialCachingControl 새 인스턴스를 빌드합니다.

public:
 static void BuildCachedControl(System::Web::UI::Control ^ parent, System::String ^ ctrlID, System::String ^ guid, int duration, System::String ^ varyByParams, System::String ^ varyByControls, System::String ^ varyByCustom, System::String ^ sqlDependency, System::Web::UI::BuildMethod ^ buildMethod, System::String ^ providerName);
public static void BuildCachedControl(System.Web.UI.Control parent, string ctrlID, string guid, int duration, string varyByParams, string varyByControls, string varyByCustom, string sqlDependency, System.Web.UI.BuildMethod buildMethod, string providerName);
static member BuildCachedControl : System.Web.UI.Control * string * string * int * string * string * string * string * System.Web.UI.BuildMethod * string -> unit
Public Shared Sub BuildCachedControl (parent As Control, ctrlID As String, guid As String, duration As Integer, varyByParams As String, varyByControls As String, varyByCustom As String, sqlDependency As String, buildMethod As BuildMethod, providerName As String)

매개 변수

parent
Control

인스턴스의 컨테이너 StaticPartialCachingControl 로 사용되는 서버 컨트롤입니다.

ctrlID
String

ASP.NET 컨트롤에 할당된 ID입니다.

guid
String

캐시된 컨트롤의 GUID(Globally Unique Identifier)입니다.

duration
Int32

컨트롤의 출력이 캐시되는 시간입니다.

varyByParams
String

캐시의 사용자 컨트롤을 변경할 쿼리 문자열 또는 폼 POST 매개 변수의 문자열입니다.

varyByControls
String

캐시의 사용자 컨트롤을 변경할 서버 제어 속성을 나열하는 문자열입니다.

varyByCustom
String

사용자 지정 출력 캐시 매개 변수 값을 포함하는 사용자 정의 문자열입니다.

sqlDependency
String

Microsoft SQL Server 캐시 종속성에 사용할 데이터베이스와 테이블을 지정하는 세미콜론으로 구분된 문자열입니다.

buildMethod
BuildMethod

컨트롤을 빌드하는 메서드를 호출하는 대리자입니다.

providerName
String

출력 캐시된 컨트롤을 저장하는 데 사용되는 공급자의 이름입니다.

적용 대상