AudienceGroupOperationException Class
Represents an exception thrown when an error is encountered in the audience while performing a group operation.
Inheritance Hierarchy
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 (in Microsoft.Office.Server.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class AudienceGroupOperationException _
Inherits AudienceException
'Usage
Dim instance As AudienceGroupOperationException
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class AudienceGroupOperationException : AudienceException
Remarks
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.
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.