AudienceException Class
The AudienceException class represents the base class for audience exceptions.
System.Object
System.Exception
System.ApplicationException
Microsoft.SharePoint.Portal.Audience.AudienceException
Public Constructors
The following table shows the AudienceException class constructors and provides a brief description of each.
| Name | Description |
|---|---|
| AudienceException (string) | Initializes an instance of the AudienceException class with a specified error message. |
| AudienceException (string, System.Exception) | Initializes an instance of the AudienceException 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
The derived exceptions from this class are AudienceNoContentException, AudienceArgumentException, AudienceDuplicateNameException, AudienceExecutionException, AudienceInCompilation, AudienceRuleDefinitionException, AudienceOperatorException, AudienceRuleRightContentException, AudienceRuleLeftContentException, AudienceGroupOperationException, AudienceADImportException, AudienceConnectionException, AudienceNameDescriptionLengthException, AudienceDataValueOutOfRangeException, AudienceNotExitException, AudienceWrongAccountNameFormat.
Requirements
Namespace: Microsoft.SharePoint.Portal.Audience
Platforms: Microsoft Windows Server 2003
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Security: Code Access Security