共用方式為


ApplePushMessage.Expiration Property

Definition

Sets or gets the lifetime of the notification. At the end of the lifetime, the notification is no longer valid and can be discarded. If this value is non-null, APNs stores the notification and tries to deliver the notification at least once. Specify null to indicate that the notification expires immediately and that APNs should not store the notification at all.

[Newtonsoft.Json.JsonIgnore]
public DateTimeOffset? Expiration { get; set; }
[<Newtonsoft.Json.JsonIgnore>]
member this.Expiration : Nullable<DateTimeOffset> with get, set
Public Property Expiration As Nullable(Of DateTimeOffset)

Property Value

Attributes
Newtonsoft.Json.JsonIgnoreAttribute

Applies to