Click or drag to resize

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: 6.5.0.0 (6.5.0.0)
Syntax
protected virtual bool BeginS2CUpdate(
	S2CTransactionStatus trnsSt,
	int trnsId
)

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: Boolean
The default implementation always returns true.
Remarks

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.

See Also