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.UserProfiles (in Microsoft.Office.Server.UserProfiles.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