Nexus.Transactions.Transaction.EnlistVolatile C# (CSharp) Method

EnlistVolatile() public method

Enlists a resource manager in this transaction.
Thrown if is not /// .
public EnlistVolatile ( IEnlistmentNotification p_entResourceManager, EnlistmentOptions p_eopOptions ) : void
p_entResourceManager IEnlistmentNotification
p_eopOptions EnlistmentOptions The enlistment options. This value must be .
return void
		public void EnlistVolatile(IEnlistmentNotification p_entResourceManager, EnlistmentOptions p_eopOptions)
		{
			if (p_eopOptions != EnlistmentOptions.None)
				throw new ArgumentException("EnlistmentOptions must be None.", "p_eopOptions");

			m_lstNotifications.Add(p_entResourceManager);
		}