Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TooManyValuesException

The TooManyValuesException exception is thrown when more than one value is added to a single-valued attribute.

The TooManyValuesException class is derived from the MetadirectoryServicesException class.

Public Constructors

The TooManyValuesException class has the following public constructors.

ConstructorDescription
TooManyValuesException

Creates an instance of the TooManyValuesException class.

TooManyValuesException (String)

Creates an instance of the TooManyValuesException class with the specified attribute name.

Public Methods

The TooManyValuesException class has the following public methods.

MethodDescription
Equals

Determines if two objects are equal.

GetBaseException

Retrieves the Exception that is the root cause of one or more subsequent exceptions.

GetHashCode

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

GetObjectData

Sets the SerializationInfo with information about the exception.

GetType

Retrieves the Type of the current object.

ToString

Retrieves a String that represents the current object.

Public Properties

The TooManyValuesException class defines the following public properties.

PropertyDescription
AttributeNameData type: String
Access type: Read-only

A string that contains the name of the attribute.

HelpLinkData type: String
Access type: Read/write

Contains a link to the Help file associated with this exception.

InnerExceptionData type: Exception
Access type: Read-only

Contains the Exception instance that caused the current exception.

MessageData type: String
Access type: Read-only

Contains a message that describes the current exception.

SourceData type: String
Access type: Read/write

Contains or sets the name of the application or object that causes the error.

StackTraceData type: String
Access type: Read-only

Contains a string representation of the frames on the call stack at the time the current exception was thrown.

TargetSiteData type: MethodBase
Access type: Read-only

Contains the method that throws the current exception.

Requirements

ProductILM 2007 FP1
NamespaceMicrosoft.MetadirectoryServices
AssemblyMicrosoft.MetadirectoryServices
.NET Framework.NET Framework 2.0

See Also

MetadirectoryServicesException


Send comments about this topic to Microsoft

Build date: 2/16/2009

Show: