StaticPartialCachingControl Constructor (String, String, Int32, String, String, String, BuildMethod)
This API supports the product infrastructure and is not intended to be used directly from your code.
Creates the StaticPartialCachingControl object to contain the cached server control content.
Assembly: System.Web (in System.Web.dll)
new : ctrlID:string * guid:string * duration:int * varyByParams:string * varyByControls:string * varyByCustom:string * buildMethod:BuildMethod -> StaticPartialCachingControl
Parameters
- ctrlID
-
Type:
System.String
The identifier assigned to the server control by ASP.NET.
- guid
-
Type:
System.String
The globally unique identifier passed from the server control.
- duration
-
Type:
System.Int32
The length of time the server control is to remain in the cache.
- varyByParams
-
Type:
System.String
A string of the query string or form POST parameters by which to vary the user control in the cache.
- varyByControls
-
Type:
System.String
A string of the server control properties by which to vary the user control in the cache.
- varyByCustom
-
Type:
System.String
A user-defined string that contains custom output-cache parameter values.
- buildMethod
-
Type:
System.Web.UI.BuildMethod
A delegate that calls the method to build the StaticPartialCachingControl.
The StaticPartialCachingControl constructor is intended for use by the ASP.NET page framework and should not be called directly by developers.
Available since 1.1