次の方法で共有


CorsOptions.MaxAgeInSeconds プロパティ

定義

ブラウザーが CORS プリフライト応答をキャッシュする期間を取得または設定します。 既定値は 5 分です。

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

プロパティ値

属性
Newtonsoft.Json.JsonPropertyAttribute

適用対象