Microsoft Identity Integration Server 2003 Developer Reference

AttributeNotPresentException

The AttributeNotPresentException exception is thrown when a rules extension accesses an attribute that is not present on an object.

The AttributeNotPresentException class is derived from the MetadirectoryServicesException class.

Public Constructors

The AttributeNotPresentException class has the following public constructor.

Constructor Description
AttributeNotPresentException

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

Public Methods

The AttributeNotPresentException class has the following public methods.

Method Description
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 AttributeNotPresentException class has the following public properties.

Property Description
AttributeName Data type: String
Access type: Read-only

Retrieves the name of the attribute.

HelpLink Data type: String
Access type: Read/write

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

InnerException Data type: Exception
Access type: Read-only

Contains the Exception instance that caused the current exception.

Message Data type: String
Access type: Read-only

Contains a message that describes the current exception.

Source Data type: String
Access type: Read/write

Contains or sets the name of the application or object that caused the exception.

StackTrace Data 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.

TargetSite Data type: MethodBase
Access type: Read-only

Contains the method that throws the current exception.

Remarks

When an attribute of a metaverse object is deleted, the attribute recall feature of Microsoft Identity Integration Server 2003 also deletes the corresponding attribute in the connecter object. During a metaverse synchronization run, the rules extension throws this exception because the rules extension is trying to set the value of an attribute that does not exist in the metaverse.

If you want the connector space attribute to remain after the metaverse attribute is deleted, in the Configure Deprovisioning property of the management agent, select Do not recall attributes contributed by objects from this management agent when disconnected. When you select this check box, the connector object attribute is retained in the connector space when the attribute of the metaverse object is deleted.

You can also get the value of the Attrib.IsPresent property to verify that the attribute exists in the metaverse before flowing a new attribute value from the connector space.

For more information about the Configure Deprovisioning property of a management agent, see the Microsoft Identity Integration Server 2003 Help.

Requirements

Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also

Attrib.IsPresent, MetadirectoryServicesException