EnableCorsAttribute.PreflightMaxAge Property

 

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

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

Syntax

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

Property Value

Type: System.Int64

See Also

EnableCorsAttribute Class
System.Web.Http.Cors Namespace

Return to top