AudienceInCompilationException Class
Throws an exception when a user tries to change audience data while audience rules are compiling.
Inheritance Hierarchy
System.Object
System.Exception
System.ApplicationException
Microsoft.Office.Server.Audience.AudienceException
Microsoft.Office.Server.Audience.AudienceInCompilationException
Namespace: Microsoft.Office.Server.Audience
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class AudienceInCompilationException _
Inherits AudienceException
'Usage
Dim instance As AudienceInCompilationException
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class AudienceInCompilationException : AudienceException
Remarks
This exception is thrown by members of the Audience class when a caller tries to access audience data while audience rules are in compilation. It is also thrown by members of the AudienceCollection class if the Remove methods are called while audience rules are compiling.
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.