Freigeben über


DirectoryEntryChangedEventArgs Class

Definition

The arguments that are sent with the DirectoryEntryChanged event.

public ref class DirectoryEntryChangedEventArgs : EventArgs
[System.Runtime.Serialization.DataContract]
public class DirectoryEntryChangedEventArgs : EventArgs
[<System.Runtime.Serialization.DataContract>]
type DirectoryEntryChangedEventArgs = class
    inherit EventArgs
Public Class DirectoryEntryChangedEventArgs
Inherits EventArgs
Inheritance
DirectoryEntryChangedEventArgs
Attributes

Constructors

DirectoryEntryChangedEventArgs(WatchResult, DirectoryEntryInfo, DirectoryEntryChangeType)

Initializes a new instance of the DirectoryEntryChangedEventArgs class.

DirectoryEntryChangedEventArgs(WatchResult, Uri, DirectoryEntryInfo, DirectoryEntryChangeType)

Initializes a new instance of the DirectoryEntryChangedEventArgs class.

Properties

ChangedEntryInfo

Gets information about the directory entry that changed. This may be null if it is too expensive for the provider to supply this information on every change event.

ChangeType

Gets the type of change event that occurred.

Uri

Gets the Uri of the changed file or directory.

WatchResult

Gets the identifier for the call to WatchDirectoryAsync(Uri, Boolean, CancellationToken) that resulted in this event being raised.

Applies to