次の方法で共有


CacheableWebPart クラス (Microsoft.SharePoint.Portal.WebControls)

このクラスおよびそのメンバは内部使用のために予約されており、ユーザー コード内で使用することを意図したものではありません。HTML 出力キャッシュを使用して、派生した Web パーツを補助します。

名前空間: Microsoft.SharePoint.Portal.WebControls
アセンブリ: Microsoft.SharePoint.Portal (microsoft.sharepoint.portal.dll 内)

構文

'宣言
<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
'使用
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

備考

ユーザー全体にCacheableWebPartを使用している場合は、セキュリティ問題が発生する可能性があります。この問題について、警告は発生しません。

CacheableWebPartクラスからの派生は、サポートされていません。

継承階層

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
                   派生クラス

スレッドの安全性

この型のパブリックで静的な (Visual Basic では Shared) すべてのメンバは、スレッド セーフです。インスタンス メンバは、スレッド セーフであるとは保証されません。

関連項目

参照

CacheableWebPart メンバ
Microsoft.SharePoint.Portal.WebControls 名前空間