Rogue Wave Server Component library for .NET Reference Guide
|
|
RpObjectBeginS2CUpdate Method |
Called by the transaction mechanism if this object is
involved.
Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 7.0.0.0 (7.0.0.0)
Parameters
- trnsSt
- Type: RW.Server.ComponentS2CTransactionStatus
The transaction status (forwarded by Representation.BeginS2CTransaction()). - trnsId
- Type: SystemInt32
The transaction identifier (forwarded by Representation.BeginS2CTransaction()).
Return Value
Type: BooleanThe default implementation always returns true.
This function is called by Representation.BeginS2CTransaction() if this object is involved in the transaction. It can be overridden to control the execution of the transaction.
If this method returns true, the notification, acknowledgement or rollback is forwarded to each attribute affected by the transaction. If it returns false, the transaction aborts for this representation object.