Condividi tramite


Evento FileSyncProvider.DetectingChanges

Viene generato quando una directory sta per essere analizzata durante un passaggio di rilevamento delle modifiche.

Spazio dei nomi: Microsoft.Synchronization.Files
Assembly: Microsoft.Synchronization.Files (in microsoft.synchronization.files.dll)

Sintassi

'Dichiarazione
Public Event DetectingChanges As EventHandler(Of DetectingChangesEventArgs)
'Utilizzo
Dim instance As FileSyncProvider
Dim handler As EventHandler(Of DetectingChangesEventArgs)

AddHandler instance.DetectingChanges, handler
public event EventHandler<DetectingChangesEventArgs> DetectingChanges
public:
event EventHandler<DetectingChangesEventArgs^>^ DetectingChanges {
    void add (EventHandler<DetectingChangesEventArgs^>^ value);
    void remove (EventHandler<DetectingChangesEventArgs^>^ value);
}
/** @event */
public void add_DetectingChanges (EventHandler<DetectingChangesEventArgs> value)

/** @event */
public void remove_DetectingChanges (EventHandler<DetectingChangesEventArgs> value)
JScript supports the use of events, but not the declaration of new ones.

Osservazioni

Questo evento viene generato una volta per ogni directory, inclusa la directory radice, durante un passaggio di rilevamento delle modifiche prima dell'inizio del rilevamento delle modifiche per la directory.

La classe DetectingChangesEventArgs fornisce il percorso della directory che sta per essere analizzata.

Vedere anche

Riferimento

Classe FileSyncProvider
Membri FileSyncProvider
Spazio dei nomi Microsoft.Synchronization.Files