Table of Contents

TTMSFNCWebPushDB.OnBeforeDeleteSubscription Event

Occurs before a subscription is removed and lets the handler veto the removal.

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

Syntax

OnBeforeDeleteSubscription: TTMSFNCWebPushDBBeforeSubscriptionEvent;

Parameters

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