Share via


ApplePushMessage.Expiration Property

 

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.

Namespace:   Microsoft.WindowsAzure.Mobile.Service
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Syntax

[JsonIgnoreAttribute]
public Nullable<DateTimeOffset> Expiration {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    set;
}
public:
[JsonIgnoreAttribute]
property Nullable<DateTimeOffset> Expiration {
    [CompilerGeneratedAttribute]
    Nullable<DateTimeOffset> get();
    [CompilerGeneratedAttribute]
    void set(Nullable<DateTimeOffset> value);
}
[<JsonIgnoreAttribute>]
member Expiration : Nullable<DateTimeOffset> with get, set
<JsonIgnoreAttribute>
Public Property Expiration As Nullable(Of DateTimeOffset)

Property Value

Type: System.Nullable<DateTimeOffset>

See Also

ApplePushMessage Class
Microsoft.WindowsAzure.Mobile.Service Namespace

Return to top