Mono Class Library: Mono.Unix.Native.NativeConvert Overview | Members

Mono.Unix.Native.NativeConvert.ToPosixFadviseAdvice Method

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

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
ArgumentOutOfRangeExceptionvalue 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