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

Mono.Unix.UnixStream.GetConfigurationValue Method

Gets a configurable system limit or option variable associated with UnixStream.Handle.

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

See Also

Mono.Unix.Native.Syscall.fpathconf

Parameters

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

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.

Exceptions

TypeReason
ArgumentException The implementation does not support an association of name with UnixStream.Handle.
ObjectDisposedException The stream has been closed.
System.IO.IOException An I/O error occurred while reading from or writing to the file system.

Remarks

Requirements

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