src/Misc/EFTools/XmlCore/Model/Eventing/EfiTransactionContext.cs
/// <summary>
///     Associate a value with a particular key in the transaction context.
/// </summary>
/// <param name="key">The key to associate the value with. Cannot be null.</param>
/// <param name="value">The value to be associated with the key. Can be null.</param>
/// <remarks>Suggested best practice is to use GUIDs for the keys to ensure uniqueness</remarks>
Associate a value with a particular key in the transaction context.
Associate a value with a particular key in the transaction context .
public void Add(string key, ITransactionContextItem value)
        {
            if (key == null)
            {
                throw new ArgumentNullException("key");
            }
            _contextInfo[key] = value;
        }
public void Add ( string key , ITransactionContextItem value ) { if ( key == null ) { throw new ArgumentNullException ( " " ) ; } _contextInfo [ key ] = value ; }
Associate a value with a particular key in the transaction context.
Associate a value with a particular key in the transaction context .
key
string
The key to associate the value with. Cannot be null.
The key to associate the value with . Cannot be null .
value
ITransactionContextItem
The value to be associated with the key. Can be null.
The value to be associated with the key . Can be null .
remarks
Suggested best practice is to use GUIDs for the keys to ensure uniqueness
Suggested best practice is to use GUIDs for the keys to ensure uniqueness