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

CorsRule.MaxAgeInSeconds 属性

定义

获取或设置浏览器应缓存预检响应的时间长度(以秒为单位)。

public int MaxAgeInSeconds { get; set; }
member this.MaxAgeInSeconds : int with get, set
Public Property MaxAgeInSeconds As Integer

属性值

缓存响应的最大秒数。

适用于