Class ResyncOptions
The ResyncOptions class contains information for items that would be resynced after expiration from the Read-Through Provider.
Inheritance
System.Object
ResyncOptions
Assembly: Alachisoft.NCache.Runtime.dll
Syntax
public class ResyncOptions
Constructors
ResyncOptions(Boolean, String)
Basic constructor for ResyncOptions, provider name is optional.
Declaration
public ResyncOptions(bool resyncOnExpiration, string providerName = null)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | resyncOnExpiration | Specifies if items are to be ReSynced at expiry. |
System.String | providerName | Name of the specified provider. |
Properties
ProviderName
Specifies the Read-Through provider name when an item will be resynced at expiry.
Declaration
public string ProviderName { get; set; }
Property Value
Type | Description |
---|---|
System.String | Name of the Read-Through provider. |
ResyncOnExpiration
Specifies if items are to be ReSynced at expiry.
Declaration
public bool ResyncOnExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Boolean value, true or false. |