RpObjectOnDereference Method (Int32, MvValue, MvValue, Int32, Boolean) |
Namespace: RW.Server.Component
public virtual bool OnDereference( int attrId, MvValue[] argv, MvValue[] ackArgv, int index, bool force )
This function is identical to OnDereference(Int32, MvValue, Boolean) except that Rogue Wave Server executes a call to the representation object function AckOpenView(MvValue) during the acknowledgement or the rollback of the transaction that includes the call to OpenView(String, MvValue, MvValue, Int32, Boolean).
In case of success, the event CreateRepresentation is also triggered by Rogue Wave Server, just after it has been created. This event contains the same argument values than AckOpenView(MvValue).
But while AckOpenView(MvValue) is called on the represention object during the acknowledgement/rollback of the transaction, CreateRepresentation is triggered during the notification phase.