Export (0) Print
Expand All

IOfflineFilesEvents interface

Used to report significant events associated with Offline Files.

When to implement

Implement this interface to receive any of the events listed below.

To receive all events, register the interface implementation using IConnectionPoint::Advise. An instance of CLSID_OfflineFilesCache (a cache object) is a connection point container implementing IConnectionPointContainer.

To receive only a subset of events, your event sink object can implement IOfflineFilesEventsFilter and describe the desired filtering through its methods. Event filtering is performed at the event source to reduce cross-process communication and event client processing.

When to use

Use this interface to receive notifications of the following Offline Files events.

Members

The IOfflineFilesEvents interface inherits from the IUnknown interface. IOfflineFilesEvents also has these types of members:

Methods

The IOfflineFilesEvents interface has these methods.

MethodDescription
CacheIsCorrupted

This method is reserved for future use.

CacheIsFull

This method is reserved for future use.

CacheMoved

This method is reserved for future use.

DataLost

Reports that one or more events destined for this event sink have been lost and will not be delivered.

Enabled

This method is reserved for future use.

EncryptionChanged

This method is reserved for future use.

ItemAddedToCache

Reports that an item has been added to the Offline Files cache.

ItemAvailableOffline

Reports that an item in the Offline Files cache is now available for offline use should the remote copy become unavailable.

ItemDeletedFromCache

Reports that an item has been removed from the Offline Files cache.

ItemDisconnected

Reports that an item in the Offline Files cache has transitioned from online to offline.

ItemModified

Reports that an item in the Offline Files cache has been modified.

ItemNotAvailableOffline

Reports that an item in the Offline Files cache is no longer available for offline use should the remote copy become unavailable.

ItemNotPinned

Reports that an item in the Offline Files cache is no longer pinned.

ItemPinned

Reports that an item in the Offline Files cache is now pinned and guaranteed to be available offline should the remote copy become unavailable.

ItemReconnected

Reports that an item in the Offline Files cache has transitioned from offline to online.

ItemRenamed

Reports that an item in the Offline Files cache has been renamed.

NetTransportArrived

Reports that the Offline Files feature has detected the arrival of a network transport.

NoNetTransports

Reports that the Offline Files feature has detected that no network transports are available.

Ping

This event is delivered to all registered event subscribers on a periodic basis.

SyncBegin

Reports that the Offline Files cache has begun a synchronize operation.

SyncConflictRecAdded

Reports that a sync conflict has been detected and recorded in the sync conflict log.

SyncConflictRecRemoved

Reports that a sync conflict no longer exists and that its record has been removed from the sync conflict log.

SyncConflictRecUpdated

Reports that a sync conflict has been detected and that a record of the conflict was already present in the sync conflict log, and that the existing record has been updated.

SyncEnd

Reports that the Offline Files cache has ended a synchronize operation.

SyncFileResult

Reports the result of synchronizing a particular file.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Cscobj.h

DLL

Cscsvc.dll;
Cscobj.dll

See also

Offline Files API Interfaces

 

 

Show:
© 2014 Microsoft