你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GooglePushMessage.TimeToLiveInSeconds 属性

定义

生存时间 (TTL) 属性允许发送方指定消息的最长生存期。 此参数的值必须是 0 到 2,419,200 秒的持续时间,它对应于 GCM 将存储和尝试传递消息的最长时间。 不包含此字段的请求默认为最长 4 周。

public int? TimeToLiveInSeconds { get; set; }
member this.TimeToLiveInSeconds : Nullable<int> with get, set
Public Property TimeToLiveInSeconds As Nullable(Of Integer)

属性值

适用于