Class TypeArgumentOutOfRangeException
The exception that is thrown when the value of an type argument is outside the allowable range of values as defined by the invoked method.
Inheritance
Inherited Members
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public class TypeArgumentOutOfRangeException : ArgumentOutOfRangeException
Constructors
| Improve this DocTypeArgumentOutOfRangeException()
Initializes a new instance of the TypeArgumentOutOfRangeException class.
Declaration
public TypeArgumentOutOfRangeException()
TypeArgumentOutOfRangeException(String)
Initializes a new instance of the TypeArgumentOutOfRangeException class.
Declaration
public TypeArgumentOutOfRangeException(string typeParamName)
Parameters
Type | Name | Description |
---|---|---|
System.String | typeParamName | The name of the type parameter that caused the exception. |
TypeArgumentOutOfRangeException(String, Exception)
Initializes a new instance of the TypeArgumentOutOfRangeException class.
Declaration
public TypeArgumentOutOfRangeException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.Exception | innerException | 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. |
TypeArgumentOutOfRangeException(String, String)
Initializes a new instance of the TypeArgumentOutOfRangeException class.
Declaration
public TypeArgumentOutOfRangeException(string typeParamName, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | typeParamName | The name of the type parameter that caused the exception. |
System.String | message | The message that describes the error. |