AudienceRuleRightContentException 类
代表AudienceRuleComponent类在规则定义中遇到错误时引发的异常。
继承层次结构
System.Object
System.Exception
System.ApplicationException
Microsoft.Office.Server.Audience.AudienceException
Microsoft.Office.Server.Audience.AudienceRuleRightContentException
命名空间: Microsoft.Office.Server.Audience
程序集: Microsoft.Office.Server.UserProfiles(位于 Microsoft.Office.Server.UserProfiles.dll 中)
语法
声明
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class AudienceRuleRightContentException _
Inherits AudienceException
用法
Dim instance As AudienceRuleRightContentException
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class AudienceRuleRightContentException : AudienceException
备注
如果指定的值与操作数的数据类型不匹配的规则定义不正确,例如,如果该规则的值为空,或者由Audience类的成员引发。确保在该规则的值定义正确的内容。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。