Click or drag to resize

SyncService Class

IT Hit User File System
Performs synchronization.
Inheritance Hierarchy
SystemObject
  ITHit.FileSystem.WindowsSyncService

Namespace:  ITHit.FileSystem.Windows
Assembly:  ITHit.FileSystem.Windows (in ITHit.FileSystem.Windows.dll) Version: 8.1.26727.0-Beta2
Syntax
public class SyncService : ISyncService, 
	IDisposable

The SyncService type exposes the following members.

Properties
  NameDescription
Public propertyIsSyncIdSupported
Indicates if Sync ID synchronization is supported and sync token initialized succesefully.
Public propertySyncIntervalMs
Synchronization interval in milliseconds. Default is 10000 ms.
Public propertySyncState
Current synchronization state.
Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by the SyncService
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the SyncService and optionally releases the managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStartAsync
Starts synchronization.
Public methodStopAsync
Stops synchronization.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventBeforeStateChanged
Event, fired before synchronization state changes.
Public eventStateChanged
Event, fired after synchronization state has changed.
Top
Fields
  NameDescription
Public fieldHydration
Hydrates and dehydrates files.
Public fieldIncomingPooling
Provides remote storage to user file system synchronization using pooling.
Public fieldIncomingSyncMode
Incoming synchronization mode. Default is SyncId.
Public fieldLogger
Logger.
Public fieldOutgoing
Provides user file system to remote storage synchronization.
Top
Remarks
Outoing synchronization is done using OutgoingSync class instance, accessible via Outgoing property of this class. Incoming synchronization is done using IncomingPoolingSync class instance, accessible via IncomingPoolingSync property of this class. Hydration is performed by HydrationSync calss instance, accessible via Hydration property of this class.
See Also