NotEnoughPrivilegeException 类 (Microsoft.SharePoint.Portal.SiteData)
Obsolete. Represents an exception that is thrown when the user calling the method does not have the correct privileges.
命名空间: Microsoft.SharePoint.Portal.SiteData
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)
语法
声明
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class NotEnoughPrivilegeException
Inherits SecurityException
用法
Dim instance As NotEnoughPrivilegeException
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)]
public class NotEnoughPrivilegeException : SecurityException
继承层次结构
System.Object
System.Exception
System.SystemException
System.Security.SecurityException
Microsoft.SharePoint.Portal.SiteData.NotEnoughPrivilegeException
线程安全性
此类型的任何公共静态(在 Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。
另请参阅
参考
NotEnoughPrivilegeException 成员
Microsoft.SharePoint.Portal.SiteData 命名空间