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.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class AudienceNotExistException _
Inherits AudienceException
'Usage
Dim instance As AudienceNotExistException
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, 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.