共用方式為


CorsRule.MaxAgeInSeconds Property

Definition

Gets or sets required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response.

[Newtonsoft.Json.JsonProperty(PropertyName="maxAgeInSeconds")]
public int MaxAgeInSeconds { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="maxAgeInSeconds")>]
member this.MaxAgeInSeconds : int with get, set
Public Property MaxAgeInSeconds As Integer

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to