PutOptions is defined in the Telligent.Evolution.Extensibility.Caching.Version1 namespace.
Definition
class PutOptions
{
PutOptions();
ConsistencyLevel Consistency { get; set; }
TimeSpan? ExpiresAfter { get; set; }
IEnumerable<string> Tags { get; set; }
}
Constructors
PutOptions();
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| Consistency | ConsistencyLevel | Indicates the desired consistency level for the cached item. | Immediate | Eventual, Immediate |
| ExpiresAfter | TimeSpan? | Identifies an explicit expiration duration. If not set, the item will persist as long as it continues to be accessed. | ||
| Tags | IEnumerable<string> | The tags associated to the item |