Class TypeArgumentException
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
The exception that is thrown when one of the type arguments provided to a method is not valid.
public class TypeArgumentException : ArgumentException, ISerializable
- Inheritance
-
TypeArgumentException
- Implements
- Inherited Members
Constructors
TypeArgumentException()
Initializes a new instance of the TypeArgumentException class.
public TypeArgumentException()
TypeArgumentException(string)
Initializes a new instance of the TypeArgumentException class.
public TypeArgumentException(string typeParamName)
Parameters
typeParamNamestringThe name of the type parameter that caused the exception.
TypeArgumentException(string, Exception)
Initializes a new instance of the TypeArgumentException class.
public TypeArgumentException(string message, Exception innerException)
Parameters
messagestringThe message that describes the error.
innerExceptionExceptionThe 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.
TypeArgumentException(string, string)
Initializes a new instance of the TypeArgumentException class.
public TypeArgumentException(string typeParamName, string message)