PublishVirtualFlags Method
- Last UpdatedApr 08, 2026
- 1 minute read
Obsolete. Gets and publishes all the virtual flag fields in a CMX record when the flag.cmsg requests for replication. Note that this method is now obsolete. Virtual fields are now automatically published using the CMXVirtualPublication class. THIS ROUTINE IS DEPRECATED. The previous design for virtual field publications required that the user call pub_virtual_flags or pub_virtual in order to manually trigger the publication of a virtual field. This design was error prone as developers often forgot the call or passed in incorrect arguments. The new design involves the use of the CMXVirtualPublication class to register a callback for a virtual field that should be called automatically whenever a triggering field(s) is committed for replication. The CMXVirtualPublication class automatically registers callbacks for all flag virtual fields.
[Obsolete()]
public virtual void PublishVirtualFlags(
bool isCmsgChanged
)
[Obsolete()]
public:
virtual void PublishVirtualFlags(
bool isCmsgChanged
)
Parameters
- isCmsgChanged
- Is cmsg changed?
THIS ROUTINE IS DEPRECATED. The previous design for virtual field publications required that the user call pub_virtual_flags or pub_virtual in order to manually trigger the publication of a virtual field. This design was error prone as developers often forgot the call or passed in incorrect arguments. The new design involves the use of the CMXVirtualPublication class to register a callback for a virtual field that should be called automatically whenever a triggering field(s) is committed for replication. The CMXVirtualPublication class automatically registers callbacks for all flag virtual fields.