Share via


AudienceRuleLeftContentException class

Represents the exception thrown when an error is encountered in the operand portion of an audience rule.

Inheritance hierarchy

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.Office.Server.Audience.AudienceException
        Microsoft.Office.Server.Audience.AudienceRuleLeftContentException

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class AudienceRuleLeftContentException _
    Inherits AudienceException
'Usage
Dim instance As AudienceRuleLeftContentException
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class AudienceRuleLeftContentException : AudienceException

Remarks

Thrown by members of the AudienceManager class when an error is encountered in the operand portion of an audience rule. For example, this exception is thrown when the operand is not a public property on the user's profile.

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

Reference

AudienceRuleLeftContentException members

Microsoft.Office.Server.Audience namespace