Partager via


CorsOptions.MaxAgeInSeconds Propriété

Définition

Obtient ou définit la durée pendant laquelle les navigateurs doivent mettre en cache les réponses préalables CORS. La valeur par défaut est de 5 minutes.

[Newtonsoft.Json.JsonProperty(PropertyName="maxAgeInSeconds")]
public long? MaxAgeInSeconds { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="maxAgeInSeconds")>]
member this.MaxAgeInSeconds : Nullable<int64> with get, set
Public Property MaxAgeInSeconds As Nullable(Of Long)

Valeur de propriété

Attributs
Newtonsoft.Json.JsonPropertyAttribute

S’applique à