Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

System.Object
   System.Web.UI.Control
      System.Web.UI.BasePartialCachingControl
         System.Web.UI.StaticPartialCachingControl

[Visual Basic]
Public Class StaticPartialCachingControl
   Inherits BasePartialCachingControl
[C#]
public class StaticPartialCachingControl :
   BasePartialCachingControl
[C++]
public __gc class StaticPartialCachingControl : public
   BasePartialCachingControl
[JScript]
public class StaticPartialCachingControl extends
   BasePartialCachingControl

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.

Remarks

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.

Requirements

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

Show:
© 2015 Microsoft