Export (0) Print
Expand All

AudienceDataValueOutOfRangeException class

Represents an exception thrown when a data value is out of range.

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

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

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

Microsoft.Office.Server.Audience namespace when validating data that has a specific range of values. This exception is thrown most often by the AudienceRuleComponent object when validating rule values, for example, if the data type of a rule operand is Bit and the provided value for the rule is not 0 or 1. Another example is if the operand data type is DateTime and the value is not in range "1/1/1753" to "12/31/9999."

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