Gets or sets the length of time in seconds that a preflight response should be cached by browser.
Namespace: Microsoft.WindowsAzure.Storage.Shared.Protocol
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As CorsRule
Dim value As Integer
value = instance.MaxAgeInSeconds
instance.MaxAgeInSeconds = value |
Syntax
Visual Basic |
---|
Public Property MaxAgeInSeconds As Integer |
C# |
---|
public int MaxAgeInSeconds { get; set; } |
C++ |
---|
public:
property int MaxAgeInSeconds {
int get ();
void set (int value);
} |
J# |
---|
/** @property */
/** @attribute CompilerGeneratedAttribute() */
public int get_MaxAgeInSeconds ()
/** @property */
/** @attribute CompilerGeneratedAttribute() */
public void set_MaxAgeInSeconds (int value)
|
JScript |
---|
CompilerGeneratedAttribute
public function get MaxAgeInSeconds () : int
CompilerGeneratedAttribute
public function set MaxAgeInSeconds (value : int)
|
Property Value
The maximum number of seconds to cache the response.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also