Table of Contents

TTMSFNCWebPushDB.OnBeforeAddSubscription Event

Occurs before a subscription is added and lets the handler veto the addition.

API unit family: TMS.TMSFNCWebPushDB Declaring type: TTMSFNCWebPushDB Inherited from: TTMSFNCCustomWebPushDB

Syntax

OnBeforeAddSubscription: TTMSFNCWebPushDBBeforeSubscriptionEvent;

Parameters

Name Description
Sender The store that raised the event.
ASubscription The subscription payload pending insertion.
AUserID The associated user identifier, when available.
ABrowserID The associated browser or device identifier, when available.
AAllow Set to False to cancel the insertion.