Share via


AudienceOperatorException Class

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

System.Object

    System.Exception

       System.ApplicationException

         Microsoft.SharePoint.Portal.Audience.AudienceException

            Microsoft.SharePoint.Portal.Audience.AudienceOperatorException

Public Constructors

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

Name Description
AudienceOperatorException(String) Initializes an instance of the AudienceOperatorException class with a specified error message.
AudienceOperatorException(String, System.Exception) Initializes an instance of the AudienceOperatorException 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. Any instance members are not guaranteed to be thread safe.

Remarks

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

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