共用方式為


CorsRule.MaxAgeInSeconds Property

Definition

Gets or sets the length of time in seconds that a preflight response should be cached by browser.

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

Property Value

The maximum number of seconds to cache the response.

Applies to