Table of Contents

TypeArgumentOutOfRangeException Constructor

Definition

Namespace
Cuemon
Assemblies
Cuemon.Kernel.dll
Source
src/Cuemon.Kernel/TypeArgumentOutOfRangeException.cs

TypeArgumentOutOfRangeException()

Initializes a new instance of the TypeArgumentOutOfRangeException class.

public TypeArgumentOutOfRangeException()

TypeArgumentOutOfRangeException(string)

Initializes a new instance of the TypeArgumentOutOfRangeException class.

public TypeArgumentOutOfRangeException(string typeParamName)

Parameters

typeParamName string

The name of the type parameter that caused the exception.

TypeArgumentOutOfRangeException(string, string)

Initializes a new instance of the TypeArgumentOutOfRangeException class.

public TypeArgumentOutOfRangeException(string typeParamName, string message)

Parameters

typeParamName string

The name of the type parameter that caused the exception.

message string

The message that describes the error.

TypeArgumentOutOfRangeException(string, object, string)

Initializes a new instance of the TypeArgumentOutOfRangeException class.

public TypeArgumentOutOfRangeException(string typeParamName, object actualValue, string message)

Parameters

typeParamName string

The name of the type parameter that caused the exception.

actualValue object

The value of the argument that causes this exception.

message string

The message that describes the error.

TypeArgumentOutOfRangeException(string, Exception)

Initializes a new instance of the TypeArgumentOutOfRangeException class.

public TypeArgumentOutOfRangeException(string message, Exception innerException)

Parameters

message string

The message that describes the error.

innerException Exception

The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.