Show / Hide Table of Contents

Class ClassNotInstantiableException

Exception that is thrown when it's not possible to create an instance of a class.

Inheritance
object
Exception
OffendingException<Type>
ClassNotInstantiableException
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 ClassNotInstantiableException : OffendingException<Type?>, ISerializable

Constructors

| Edit this page View Source

ClassNotInstantiableException()

Initializes a new instance of the ClassNotInstantiableException class.

Declaration
public ClassNotInstantiableException()
| Edit this page View Source

ClassNotInstantiableException(Exception)

Initializes a new instance of the ClassNotInstantiableException class.

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

Exception that is the cause of this exception.

| Edit this page View Source

ClassNotInstantiableException(Exception, Type?)

Initializes a new instance of the ClassNotInstantiableException class.

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

Exception that is the cause of this exception.

Type offendingType

Type that is the cause of this exception.

| Edit this page View Source

ClassNotInstantiableException(string)

Initializes a new instance of the ClassNotInstantiableException class.

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

Message that describes the exception.

| Edit this page View Source

ClassNotInstantiableException(string, Exception)

Initializes a new instance of the ClassNotInstantiableException class.

Declaration
public ClassNotInstantiableException(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

ClassNotInstantiableException(string, Exception, Type?)

Initializes a new instance of the ClassNotInstantiableException class.

Declaration
public ClassNotInstantiableException(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 this exception.

| Edit this page View Source

ClassNotInstantiableException(string, Type?)

Initializes a new instance of the ClassNotInstantiableException class.

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

Message that describes the exception.

Type offendingType

Type that is the cause of this exception.

| Edit this page View Source

ClassNotInstantiableException(Type?)

Initializes a new instance of the ClassNotInstantiableException class.

Declaration
public ClassNotInstantiableException(Type? offendingType)
Parameters
Type Name Description
Type offendingType

Type that is the cause of this 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