Export (0) Print
Expand All

AudienceGroupOperationException class

Represents an exception thrown when an error is encountered in the audience while performing a group operation.

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

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

[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class AudienceGroupOperationException : AudienceException

Thrown by members of the Audience class when an invalid group operator value is supplied. Valid values are contained in the AudienceGroupOperation enumeration, and include "AND" "OR" and "(," and ")."

An exception is also thrown when an illegal update is made to the group operator, for example, if a user tries to modify the value of a group operation that is specified as MIX or when a user tries to set the value of a group operation to MIX directly.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft