[This is preliminary documentation and is subject to change.]

Initializes a new instance of the CacheOptionsCacheOptionsCacheOptions class.

Namespace: Simple.Web.HttpSimple.Web.HttpSimple::Web::Http
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public CacheOptions(

DateTime absoluteExpiry

)

VB

Public Sub New( _

absoluteExpiry As DateTime _

)

C++

public:

CacheOptions(

DateTime absoluteExpiry

)

Parameters

absoluteExpiry
Type: System.DateTimeSystem.DateTimeSystem::DateTime
The absolute expiry time.

Remarks

Use this constructor when you want to specify absolute expiry.

See Also

CacheOptionsCacheOptionsCacheOptions Class
CacheOptionsNewCacheOptions Overload
Simple.Web.HttpSimple.Web.HttpSimple::Web::Http Namespace