Export (0) Print
Expand All

AudienceInCompilationException class

Throws an exception when a user tries to change audience data while audience rules are compiling.

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)

[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class AudienceInCompilationException : AudienceException

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft