TTMSFNCWebPushSender.OnNotificationError Event
Occurs when the push service rejects a notification, allowing the handler to decide whether the failed subscription is removed.
API unit family: TMS.TMSFNCWebPushSender
Declaring type: TTMSFNCWebPushSender
Inherited from: TTMSFNCCustomWebPushSender
Syntax
OnNotificationError: TTMSFNCWebPushNotificationErrorEvent;
Parameters
| Name | Description |
|---|---|
Sender |
The sender component that raised the event. |
AResponseCode |
The HTTP status code returned by the push service. |
AResponse |
The response body or error message returned by the push service. |
AEndpoint |
The recipient push service endpoint. |
APayload |
The serialized payload that failed to send. |
AUserID |
The target user identifier, when available. |
ABrowserID |
The target browser or device identifier, when available. |
ADelete |
Set to True to remove the failed subscription from the store. |