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.

The following tables list the members exposed by the TransactionPropertyCollection type.

Protected Constructors

  Name Description
TransactionPropertyCollection Creates an instance of the TransactionPropertyCollection class.

Public Properties

  Name Description
public property Count Gets the number of items in the collection.
public property Item Gets or sets the data for a specific property in the collection.
public property Keys Gets a collection of the property names in the collection.
public property Values Gets a collection of the values of all the properties in the collection.

Public Methods (see also Protected Methods)

  Name Description
public method Add Adds a named property to the collection. The specified data is stored with the named property.
public method Clear Removes all properties from the collection.
public method Contains Determines whether the collection contains a specific property.
public method Equals  Overloaded. (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public methodstatic ReferenceEquals  (Inherited from Object)
public method Remove Removes a specific property from the collection.
public method ToString  (Inherited from Object)

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

See Also