Show / Hide Table of Contents

Class InvalidTypeException

Exception that is thrown when referencing an invalid type.

Inheritance
object
Exception
OffendingException<Type>
InvalidTypeException
Implements
ISerializable
Inherited Members
OffendingException<Type>.OffendingObject
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: TheXDS.MCART.Exceptions
Assembly: MCART.dll
Syntax
[Serializable]
public class InvalidTypeException : OffendingException<Type>, ISerializable

Constructors

| Edit this page View Source

InvalidTypeException()

Initializes a new instance of the InvalidTypeException class.

Declaration
public InvalidTypeException()
| Edit this page View Source

InvalidTypeException(Exception)

Initializes a new instance of the InvalidTypeException class.

Declaration
public InvalidTypeException(Exception inner)
Parameters
Type Name Description
Exception inner

Exception that is the cause of this exception.

| Edit this page View Source

InvalidTypeException(Exception, Type)

Initializes a new instance of the InvalidTypeException class.

Declaration
public InvalidTypeException(Exception inner, Type offendingType)
Parameters
Type Name Description
Exception inner

Exception that is the cause of this exception.

Type offendingType

Tipo que ha causado la excepción.

| Edit this page View Source

InvalidTypeException(string)

Initializes a new instance of the InvalidTypeException class.

Declaration
public InvalidTypeException(string message)
Parameters
Type Name Description
string message

Message that describes the exception.

| Edit this page View Source

InvalidTypeException(string, Exception)

Initializes a new instance of the InvalidTypeException class.

Declaration
public InvalidTypeException(string message, Exception inner)
Parameters
Type Name Description
string message

Message that describes the exception.

Exception inner

Exception that is the cause of this exception.

| Edit this page View Source

InvalidTypeException(string, Exception, Type)

Initializes a new instance of the InvalidTypeException class.

Declaration
public InvalidTypeException(string message, Exception inner, Type offendingType)
Parameters
Type Name Description
string message

Message that describes the exception.

Exception inner

Exception that is the cause of this exception.

Type offendingType

Type that is the cause of the exception.

| Edit this page View Source

InvalidTypeException(string, Type)

Initializes a new instance of the InvalidTypeException class.

Declaration
public InvalidTypeException(string message, Type offendingType)
Parameters
Type Name Description
string message

Message that describes the exception.

Type offendingType

Type that is the cause of the exception.

| Edit this page View Source

InvalidTypeException(Type)

Initializes a new instance of the InvalidTypeException class.

Declaration
public InvalidTypeException(Type offendingType)
Parameters
Type Name Description
Type offendingType

Type that is the cause of the exception.

Implements

ISerializable

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowClone<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX