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

Mono.Unix.UnixIOException Constructor

Constructs and initializes a new instance of the Mono.Unix.UnixIOException class using the specified error value and nested exception.

public UnixIOException (Mono.Unix.Native.Errno errno, Exception inner)

See Also

UnixMarshal.GetErrorDescription

Parameters

errno
A int that specifies which error occurred.
inner
An instance of Exception that is the cause of the current exception. If inner is non-null, then the current Exception was raised in a catch block handling inner.

Exceptions

TypeReason
ArgumentOutOfRangeException The value errno is not a valid error value on this platform.

Remarks

This constructor initializes the UnixIOException.NativeErrorCode property to errno, initializes the Exception.Message property to a system-supplied message that describes errno, and initializes the Exception.InnerException property to inner.

Requirements

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