Freigeben über


DirectoryEntryChangedEventArgs Constructors

Definition

Overloads

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.

DirectoryEntryChangedEventArgs(WatchResult, DirectoryEntryInfo, DirectoryEntryChangeType)

Initializes a new instance of the DirectoryEntryChangedEventArgs class.

public:
 DirectoryEntryChangedEventArgs(Microsoft::VisualStudio::RpcContracts::FileSystem::WatchResult ^ watchResult, Microsoft::VisualStudio::RpcContracts::FileSystem::DirectoryEntryInfo ^ changedEntryInfo, Microsoft::VisualStudio::RpcContracts::FileSystem::DirectoryEntryChangeType changeType);
public DirectoryEntryChangedEventArgs (Microsoft.VisualStudio.RpcContracts.FileSystem.WatchResult watchResult, Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryInfo changedEntryInfo, Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryChangeType changeType);
new Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryChangedEventArgs : Microsoft.VisualStudio.RpcContracts.FileSystem.WatchResult * Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryInfo * Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryChangeType -> Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryChangedEventArgs
Public Sub New (watchResult As WatchResult, changedEntryInfo As DirectoryEntryInfo, changeType As DirectoryEntryChangeType)

Parameters

watchResult
WatchResult

Identifies the call to WatchFileAsync(Uri, CancellationToken) or WatchDirectoryAsync(Uri, Boolean, CancellationToken) that resulted in the DirectoryEntryChanged event being raised.

changedEntryInfo
DirectoryEntryInfo

Information about directory entry that changed.

changeType
DirectoryEntryChangeType

The type of change event that occurred.

Applies to

DirectoryEntryChangedEventArgs(WatchResult, Uri, DirectoryEntryInfo, DirectoryEntryChangeType)

Initializes a new instance of the DirectoryEntryChangedEventArgs class.

public:
 DirectoryEntryChangedEventArgs(Microsoft::VisualStudio::RpcContracts::FileSystem::WatchResult ^ watchResult, Uri ^ uri, Microsoft::VisualStudio::RpcContracts::FileSystem::DirectoryEntryInfo ^ changedEntryInfo, Microsoft::VisualStudio::RpcContracts::FileSystem::DirectoryEntryChangeType changeType);
[Newtonsoft.Json.JsonConstructor]
public DirectoryEntryChangedEventArgs (Microsoft.VisualStudio.RpcContracts.FileSystem.WatchResult watchResult, Uri uri, Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryInfo? changedEntryInfo, Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryChangeType changeType);
[<Newtonsoft.Json.JsonConstructor>]
new Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryChangedEventArgs : Microsoft.VisualStudio.RpcContracts.FileSystem.WatchResult * Uri * Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryInfo * Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryChangeType -> Microsoft.VisualStudio.RpcContracts.FileSystem.DirectoryEntryChangedEventArgs
Public Sub New (watchResult As WatchResult, uri As Uri, changedEntryInfo As DirectoryEntryInfo, changeType As DirectoryEntryChangeType)

Parameters

watchResult
WatchResult

Identifies the call to WatchFileAsync(Uri, CancellationToken) or WatchDirectoryAsync(Uri, Boolean, CancellationToken) that resulted in the DirectoryEntryChanged event being raised.

uri
Uri

The Uri of the changed file or directory.

changedEntryInfo
DirectoryEntryInfo

Information about 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
DirectoryEntryChangeType

The type of change event that occurred.

Attributes
Newtonsoft.Json.JsonConstructorAttribute

Applies to