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 TransactionProperties property. The properties in the collection exist for the lifetime of the current transaction.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim instance As TransactionPropertyCollection

Syntax

'Declaration
<DefaultMemberAttribute("Item")> _
Public MustInherit Class TransactionPropertyCollection
[DefaultMemberAttribute("Item")] 
public abstract class TransactionPropertyCollection
[DefaultMemberAttribute(L"Item")] 
public ref class TransactionPropertyCollection abstract
/** @attribute DefaultMemberAttribute("Item") */ 
public abstract class TransactionPropertyCollection
DefaultMemberAttribute("Item") 
public abstract class TransactionPropertyCollection

Remarks

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

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))
{
}

Inheritance Hierarchy

System.Object
  Microsoft.MetadirectoryServices.TransactionPropertyCollection

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.

Platforms

Target Platforms

Change History

See Also

Reference

TransactionPropertyCollection Members
Microsoft.MetadirectoryServices Namespace
Microsoft.MetadirectoryServices