Skip to content
ConsoleMonster
Enum

FileOperationErrorKind

ConsoleMonster.FileSystem

Namespace
ConsoleMonster.FileSystem
Assembly
ConsoleMonster
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

Why one item failed.

Inheritance

  • Enum
  • FileOperationErrorKind

Usage

Explore 10 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const FileOperationErrorKind AccessDenied #

Permission was denied.

Value: 0
public const FileOperationErrorKind InUse #

Another process holds the file open.

Value: 1
public const FileOperationErrorKind PathTooLong #

The path is longer than the file system allows.

Value: 2
public const FileOperationErrorKind NotFound #

The item disappeared before it was processed.

Value: 3
public const FileOperationErrorKind AlreadyExists #

The destination exists as something that can't be replaced, such as a folder in place of a file.

Value: 4
public const FileOperationErrorKind IntoItself #

A folder would be copied or moved into itself.

Value: 5
public const FileOperationErrorKind TrashUnavailable #

There is no recycle bin or trash for the item; nothing was deleted.

Value: 6
public const FileOperationErrorKind DiskFull #

The destination has no room left.

Value: 7
public const FileOperationErrorKind Other #

Any other input/output failure.

Value: 8