Share via


AudienceDataValueOutOfRangeException class

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

Inheritance hierarchy

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)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class AudienceDataValueOutOfRangeException _
    Inherits AudienceException
'Usage
Dim instance As AudienceDataValueOutOfRangeException
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class AudienceDataValueOutOfRangeException : AudienceException

Remarks

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."

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

AudienceDataValueOutOfRangeException members

Microsoft.Office.Server.Audience namespace