File System File System
File System File System
DocFX + Singulink = ♥

Search Results for

    Enum InaccessibleSearchBehavior

    Specifies the behavior when encountering inaccessible directories during searches.

    Namespace: Singulink.IO
    Assembly: Singulink.IO.FileSystem.dll
    Syntax
    public enum InaccessibleSearchBehavior

    Fields

    Name Description
    IgnoreAll

    Indicates that all unauthorized accesses should be ignored, including the directory being searched.

    ThrowForAll

    Indicates that UnauthorizedIOAccessException should be thrown if any inaccessible directories are encountered during the search.

    ThrowForSearchDir

    Indicates that an UnauthorizedIOAccessException should be thrown if the directory being searched is inaccessible but inaccessible child directories are ignored. This is the default behavior as it has the least surprising behavior, but it requires an extra file system call for recursive searches where no matches are returned to check if the search root is accessible.

    © Singulink. All rights reserved.