AudienceDataValueOutOfRangeException AudienceDataValueOutOfRangeException AudienceDataValueOutOfRangeException Class

Definition

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

public ref class AudienceDataValueOutOfRangeException : Microsoft::Office::Server::Audience::AudienceException
public class AudienceDataValueOutOfRangeException : Microsoft.Office.Server.Audience.AudienceException
Public Class AudienceDataValueOutOfRangeException
Inherits AudienceException
Inheritance
AudienceDataValueOutOfRangeExceptionAudienceDataValueOutOfRangeExceptionAudienceDataValueOutOfRangeException

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

Constructors

AudienceDataValueOutOfRangeException(String) AudienceDataValueOutOfRangeException(String) AudienceDataValueOutOfRangeException(String)

Initializes a new instance of the AudienceDataValueOutOfRangeException class with the specified error message.

AudienceDataValueOutOfRangeException(String, Exception) AudienceDataValueOutOfRangeException(String, Exception) AudienceDataValueOutOfRangeException(String, Exception)

Initializes a new instance of the AudienceDataValueOutOfRangeException class with the specified error message and a reference to the inner exception that is the cause of this exception.

Applies to