Share via


AudienceNotExistException Class

Implements the exception thrown when an audience cannot be found in the database.

Inheritance Hierarchy

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

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 AudienceNotExistException _
    Inherits AudienceException
'Usage
Dim instance As AudienceNotExistException
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class AudienceNotExistException : AudienceException

Remarks

Exception thrown by the AudienceCollection class when trying to remove an audience that no longer exists in the site database.

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.

See Also

Reference

AudienceNotExistException Members

Microsoft.Office.Server.Audience Namespace