Mono Class Library: Mono.Unix.UnixFileSystemInfo Overview | Members

Mono.Unix.UnixFileSystemInfo.GetConfigurationValue Method

Gets a configurable system limit or option variable associated with UnixFileSystemInfo.FullName. [Edit]

[System.CLSCompliant(false)]
public long GetConfigurationValue (Mono.Unix.Native.PathconfName name)

See Also

Mono.Unix.Native.Syscall.pathconf

Parameters

name
A Mono.Unix.Native.PathconfName value specifying which configuration value to retreive. [Edit]

Returns

A long containing the value of the configuration variable name. If there is no value for the configuration variable name, then -1 is returned. [Edit]

Exceptions

TypeReason
ArgumentException The implementation does not support an association of name with UnixFileSystemInfo.FullName. [Edit]
UnauthorizedAccessExceptionSearch permission is denied for a component of the path UnixFileSystemInfo.FullName. [Mono.Unix.Native.Errno.EACCES] [Edit]
System.IO.DirectoryNotFoundException A component of the path prefix of UnixFileSystemInfo.FullName is not a directory. [Mono.Unix.Native.Errno.ENOTDIR] [Edit]
System.IO.FileNotFoundException A component of UnixFileSystemInfo.FullName that must exist does not exist. [Mono.Unix.Native.Errno.ENOENT] [Edit]
System.IO.PathTooLongExceptionUnixFileSystemInfo.FullName was too long. [Mono.Unix.Native.Errno.ENAMETOOLONG] [Edit]
System.IO.IOException An I/O error occurred while reading from or writing to the file system. [Edit]
Mono.Unix.UnixIOExceptionToo many symbolic links were encountered in translating UnixFileSystemInfo.FullName. [Mono.Unix.Native.Errno.ELOOP] [Edit]

Remarks

[Edit]

Requirements

Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0