Share via


AudienceOperatorException Class

Represents the exception thrown by the Audience class and AudienceManager class when an operator error is encountered for a rule definition.

Inheritance Hierarchy

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

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

Syntax

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

Remarks

Thrown by members of the Audience class and AudienceManager class when saving or loading rule definitions that contain an incorrect or missing operator.

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

AudienceOperatorException Members

Microsoft.Office.Server.Audience Namespace