Microsoft Identity Integration Server 2003 Developer Reference


The TransactionPropertyCollection class represents a collection of named properties that can be shared between different methods of an extension and between separate extensions for a specific transaction. An instance of this class is obtained from the Utils.TransactionProperties property. The properties in the collection will exist for the lifetime of the current transaction.

The TransactionPropertyCollection class is derived from the System.Object class.

Public Methods

The TransactionPropertyCollection class has the following public methods.

Method Description

Adds a named property to the collection.


Removes all properties from the collection.


Determines if the collection contains a specific property.


Determines if two objects are equal.


Serves as a hash function for a particular type.


Retrieves the Type of the current object.


Removes a specific property from the collection.


Retrieves a String that represents the current object.

Public Properties

The TransactionPropertyCollection class has the following public properties.

Property Description
Count Data type: Int32
Access type: Read-only

Retrieves the number of items in the collection.

Item Data type: Object
Access type: Read/write

Retrieves or sets the data for a specific property in the collection.

Keys Data type: ICollection
Access type: Read-only

Retrieves a collection of the property names.

Values Data type: ICollection
Access type: Read-only

Retrieves a collection of property values.

Protected Constructors

The TransactionPropertyCollection class has the following protected constructor.

Constructor Description

Creates an instance of the TransactionPropertyCollection class.


The TransactionPropertyCollection class allows properties to be indexed by name, as shown in the following example:

[Visual Basic .NET]
Utils.TransactionProperties("disconnected because of mailbox move") = True
If Utils.TransactionProperties("disconnected because of mailbox move").Equals(True) Then
End If
Utils.TransactionProperties["disconnected because of mailbox move"] = true;
if(Utils.TransactionProperties["disconnected because of mailbox move"].Equals(true))


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.