AudienceGroupOperationException Class

The AudienceGroupOperationException class represents an exception thrown when an error is encountered in the audience while performing an group operation.

System.Object

    System.Exception

       System.ApplicationException

         Microsoft.SharePoint.Portal.Audience.AudienceException

            Microsoft.SharePoint.Portal.Audience.AudienceGroupOperationException

Public Constructors

The following table shows the AudienceGroupOperationException class constructors and provides a brief description of each.

Name Description
AudienceGroupOperationException(string) Initializes an instance of the AudienceGroupOperationException class with a specified error message.
AudienceGroupOperationException(string, System.Exception) Initializes an instance of the AudienceGroupOperationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Thread Safety

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

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 ")."

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 to "MIX" directly.

Requirements

Namespace: Microsoft.SharePoint.Portal.Audience

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll

Security: Code Access Security

AudienceException Class | Audience Class