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.

public UnixIOException (Mono.Unix.Native.Errno errno)

See Also

UnixMarshal.GetErrorDescription

Parameters

errno
A Mono.Unix.Native.Errno that specifies which error occurred.

Exceptions

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

Remarks

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

The Exception.InnerException property is initialized to null.

Requirements

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