AudienceRuleRightContentException Class

Represents the exception thrown by the AudienceRuleComponent class when an error in encountered in the rule definition.

Inheritance Hierarchy


Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.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


Thrown by members of the Audience class when the rule definition is incorrect, for example, if the value for the rule is empty, or if the specified value does not match the data type of the operand. Ensure that the correct content is defined in the value of the rule.

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.

See Also


AudienceRuleRightContentException Members

Microsoft.Office.Server.Audience Namespace