Mono.Unix.Native.NativeConvert.ToPosixFadviseAdvice Method
Converts an OS-specific value to a Mono.Unix.Native.PosixFadviseAdvice.

Syntax

public static PosixFadviseAdvice ToPosixFadviseAdvice (int value)

See Also

NativeConvert.FromPosixFadviseAdvice
NativeConvert.TryFromPosixFadviseAdvice
NativeConvert.TryToPosixFadviseAdvice

Parameters

value
The OS-specific value to convert.

Returns

The equivalent managed value.

Exceptions

TypeReason
ArgumentOutOfRangeException value has no equivalent managed value.

Remarks

Requirements

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