共用方式為


Microsoft.VisualStudio.RpcContracts.FileSystem Namespace

Classes

DirectoryEntryChangedEventArgs

The arguments that are sent with the DirectoryEntryChanged event.

DirectoryEntryInfo

Contains the properties of a directory entry (a file or a directory). This is the base class for both FileInfo and DirectoryInfo.

DirectoryInfo

Contains the properties of a directory.

FileInfo

Contains the properties of a file.

FileSystemAccessChangedEventArgs

Provides information about file system access change.

RootEntriesChangedEventArgs

The arguments that are sent with the RootEntriesChanged event.

UriDisplayInfo

A class containing the display properties for a Uri.

WatchResult

The result of a call to WatchFileAsync(Uri, CancellationToken) or WatchDirectoryAsync(Uri, Boolean, CancellationToken).

Structs

OperationProgressData

A struct that represents the progress of a file system operation.

Interfaces

IFileSystem

Allows access to local or remote file systems. Obtain this service using FileSystem. The file systems that are available via this service are defined by the file system providers that are registered with it (IFileSystemProvider).

IFileSystemAuthorizationService

Local service for checking file and folder access on Codespaces server or Live Share host. When this service is obtained with credentials associated with a Live Share guest, it will use session file access configuration. https://github.com/MicrosoftDocs/live-share/blob/master/docs/reference/security.md#controlling-file-access-and-visibility. When this service is obtained with credentials associated with the Codespaces client, it'll check if a file or directory is accessible to the client. Obtain this service using FileSystemAuthorizationService.

IFileSystemProvider

Allows access to a particular file system, identified by Scheme.

IRemoteFileSystemProvider

Allows downloading files from a remote file system to the local file system.

IUriDisplayInfoProvider

An interface to provide display information for a Uri. This is an optional interface that can be implemented by a file system provider.

Enums

DirectoryEntryChangeType

Identifies the type of change that happened to a file or directory.

FileSystemAccessLevel

Access level of a file or directory.