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

Mono.Unix.Native.NativeConvert.ToSyslogFacility Method

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

public static SyslogFacility ToSyslogFacility (int value)

See Also

NativeConvert.FromSyslogFacility
NativeConvert.TryFromSyslogFacility
NativeConvert.TryToSyslogFacility

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