Compartir a través de


: CacheableWebPart (Clase) (Microsoft.SharePoint.Portal.WebControls)

Esta clase y sus miembros se reservan para uso interno y no están diseñados para usarse en su código.Assists the derived Web Part with HTML output caching.

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
<XmlRootAttribute(Namespace:="urn:schemas-microsoft-com:sharepoint:CacheableWebPart")> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public MustInherit Class CacheableWebPart
    Inherits WebPartLoc
'Uso
Dim instance As CacheableWebPart
[XmlRootAttribute(Namespace="urn:schemas-microsoft-com:sharepoint:CacheableWebPart")] 
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
public abstract class CacheableWebPart : WebPartLoc

Comentarios

If you use the CacheableWebPart across users, there is a possibility of a security issue. There will be no warning.

Deriving from the CacheableWebPart class is unsupported.

Jerarquía de herencia

System.Object
   System.Web.UI.Control
     System.Web.UI.WebControls.WebControl
       System.Web.UI.WebControls.Panel
         System.Web.UI.WebControls.WebParts.Part
           System.Web.UI.WebControls.WebParts.WebPart
             Microsoft.SharePoint.WebPartPages.WebPart
               Microsoft.SharePoint.Portal.WebControls.WebPartLoc
                Microsoft.SharePoint.Portal.WebControls.CacheableWebPart
                   Clases derivadas

Seguridad de subprocesos

Todos los miembros estáticos públicos (compartidos en Visual Basic) de este tipo son seguros para la ejecución de subprocesos. No se garantiza que los miembros de instancia sean seguros para los subprocesos.

Vea también

Referencia

CacheableWebPart (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)