Property ResyncOptions
ResyncOptions
This property is used to define the ResyncOptions for the cache item.
Declaration
public ResyncOptions ResyncOptions { get; set; }
Property Value
Type | Description |
---|---|
ResyncOptions | This property is used to define the ResyncOptions for the cache item. |
Examples
The following example sets ResyncOptions of a CacheItem.
Product product = new Product();
product.Id = 1;
product.Name = "Chai";
CacheItem item = new CacheItem(product);
item.ResyncOptions = new ResyncOptions(true, "ProdProvider");