Click or drag to resize
SyncPolicy Properties

The SyncPolicy type exposes the following members.

Properties
  NameDescription
Public propertyConflictResolutionPolicy
Sepcifies how conflicts should be resolved.
Public propertyStatic memberDefault
Returns a SyncPolicy object with default values of FetchPolicy.FetchFromService, ExpirationPolicy.NeverExpire, EvictionPolicy.ManualEviction and UpdatePolicy.UpdateIfOnline. The returned object should not be modified by callers.
Public propertyEvictionPolicy
Specifies when an expired resource is evicted from the cache.
Public propertyExpirationPolicy
Specifies when a cached resource expires.
Public propertyExpireAfter
The duration after which a cached resource expires, only valid if ExpirationPolicy is set to ExpireAfter.
Public propertyFetchPolicy
Specifies whether a GET returns data from the cache or the service.
Public propertyNoCache
The resource is not cached on the device. This is useful for sensitive or large data.
Public propertyRefreshPolicy
Specifies how a cached resource is refreshed.
Public propertyUpdatePolicy
Specifies how updates (PUT/POST/DELETE/PATCH) operations behave.
Top
See Also