Share via


CorsPolicy.PreflightMaxAge Property

 

Gets or sets the number of seconds the results of a preflight request can be cached.

Namespace:   System.Web.Cors
Assembly:  System.Web.Cors (in System.Web.Cors.dll)

Syntax

public Nullable<long> PreflightMaxAge { get; set; }
public:
property Nullable<long long> PreflightMaxAge {
    Nullable<long long> get();
    void set(Nullable<long long> value);
}
member PreflightMaxAge : Nullable<int64> with get, set
Public Property PreflightMaxAge As Nullable(Of Long)

Property Value

Type: System.Nullable<Int64>

See Also

CorsPolicy Class
System.Web.Cors Namespace

Return to top