共用方式為


CorsPolicy.MaxAgeInSeconds Property

Definition

Gets or sets the maximum amount time that a browser should cache the preflight OPTIONS request.

[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)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to