This documentation is archived and is not being maintained.

StaticPartialCachingControl Class

Represents an instance of the UserControl class when it has been specifed for output caching and included declaratively in a page or another user control.

For a list of all members of this type, see StaticPartialCachingControl Members.


[Visual Basic]
Public Class StaticPartialCachingControl
   Inherits BasePartialCachingControl
public class StaticPartialCachingControl :
public __gc class StaticPartialCachingControl : public
public class StaticPartialCachingControl extends

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


An instance of this class is created when a user control is specifed for output caching, using an @ OutputCache directive in the declarative .ascx file, or the PartialCachingAttribute in the the user control's code-behind file. Once the user control is included declaratively in its containing page, the StaticPartialCachingControl instance is placed in the control hierarchy of the page as a parent to the cached user control.


Namespace: System.Web.UI

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

Assembly: System.Web (in System.Web.dll)

See Also

StaticPartialCachingControl Members | System.Web.UI Namespace | Caching Portions of an ASP.NET Page | @ OutputCache