Show / Hide Table of Contents

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
Object
Exception
SystemException
ArgumentException
ArgumentOutOfRangeException
TypeArgumentOutOfRangeException
Implements
ISerializable
Inherited Members
ArgumentOutOfRangeException.GetObjectData(SerializationInfo, StreamingContext)
ArgumentOutOfRangeException.ActualValue
ArgumentOutOfRangeException.Message
ArgumentException.ParamName
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
[Serializable]
public class TypeArgumentOutOfRangeException : ArgumentOutOfRangeException, ISerializable

Constructors

| Improve this Doc View Source

TypeArgumentOutOfRangeException()

Initializes a new instance of the TypeArgumentOutOfRangeException class.

Declaration
public TypeArgumentOutOfRangeException()
| Improve this Doc View Source

TypeArgumentOutOfRangeException(SerializationInfo, StreamingContext)

Initializes a new instance of the TypeArgumentOutOfRangeException class.

Declaration
protected TypeArgumentOutOfRangeException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The object that holds the serialized object data.

StreamingContext context

The contextual information about the source or destination.

| Improve this Doc View Source

TypeArgumentOutOfRangeException(String)

Initializes a new instance of the TypeArgumentOutOfRangeException class.

Declaration
public TypeArgumentOutOfRangeException(string typeParamName)
Parameters
Type Name Description
String typeParamName

The name of the type parameter that caused the exception.

| Improve this Doc View Source

TypeArgumentOutOfRangeException(String, Exception)

Initializes a new instance of the TypeArgumentOutOfRangeException class.

Declaration
public TypeArgumentOutOfRangeException(string message, Exception innerException)
Parameters
Type Name Description
String message

The message that describes the error.

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.

| Improve this Doc View Source

TypeArgumentOutOfRangeException(String, Object, String)

Initializes a new instance of the TypeArgumentOutOfRangeException class.

Declaration
public TypeArgumentOutOfRangeException(string typeParamName, object actualValue, string message)
Parameters
Type Name Description
String typeParamName

The name of the type parameter that caused the exception.

Object actualValue

The value of the argument that causes this exception.

String message

The message that describes the error.

| Improve this Doc View Source

TypeArgumentOutOfRangeException(String, String)

Initializes a new instance of the TypeArgumentOutOfRangeException class.

Declaration
public TypeArgumentOutOfRangeException(string typeParamName, string message)
Parameters
Type Name Description
String typeParamName

The name of the type parameter that caused the exception.

String message

The message that describes the error.

Implements

System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright 2008-2022 Geekle. All rights reserved. Code with passion and love; deploy with confidence. 👨‍💻️🔥❤️🚀😎
Generated by DocFX