SystemInfo CreateArgumentOutOfRangeException Method Apache log4net™ SDK Documentation

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public static ArgumentOutOfRangeException CreateArgumentOutOfRangeException(
	string parameterName,
	Object actualValue,
	string message
)

Parameters

parameterName
Type: OnlineSystem String
The name of the parameter that caused the exception
actualValue
Type: OnlineSystem Object
The value of the argument that causes this exception
message
Type: OnlineSystem String
The message that describes the error

Return Value

Type: OnlineArgumentOutOfRangeException
the ArgumentOutOfRangeException object
Remarks

Create a new instance of the OnlineArgumentOutOfRangeException class with a specified error message, the parameter name, and the value of the argument.

The Compact Framework does not support the 3 parameter constructor for the OnlineArgumentOutOfRangeException type. This method provides an implementation that works for all platforms.

See Also