Show / Hide Table of Contents

Class InvalidArgumentException

Exception that is thrown when an argument has an invalid value, and no other inheritors of ArgumentException properly describes the error.

Inheritance
object
Exception
SystemException
ArgumentException
InvalidArgumentException
Implements
ISerializable
Inherited Members
ArgumentException.ThrowIfNullOrEmpty(string, string)
ArgumentException.ThrowIfNullOrWhiteSpace(string, string)
ArgumentException.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
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 InvalidArgumentException : ArgumentException, ISerializable

Constructors

| Edit this page View Source

InvalidArgumentException()

Initializes a new instance of the InvalidArgumentException class.

Declaration
public InvalidArgumentException()
| Edit this page View Source

InvalidArgumentException(Exception)

Initializes a new instance of the InvalidArgumentException class.

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

Exception that is the cause of this exception.

| Edit this page View Source

InvalidArgumentException(Exception, string)

Initializes a new instance of the InvalidArgumentException class.

Declaration
public InvalidArgumentException(Exception inner, string argumentName)
Parameters
Type Name Description
Exception inner

Exception that is the cause of this exception.

string argumentName

Name of the invalid argument.

| Edit this page View Source

InvalidArgumentException(string)

Initializes a new instance of the InvalidArgumentException class.

Declaration
public InvalidArgumentException(string argumentName)
Parameters
Type Name Description
string argumentName

Name of the invalid argument.

| Edit this page View Source

InvalidArgumentException(string, Exception)

Initializes a new instance of the InvalidArgumentException class.

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

InvalidArgumentException(string, Exception, string)

Initializes a new instance of the InvalidArgumentException class.

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

Message that describes the exception.

Exception inner

Exception that is the cause of this exception.

string argumentName

Name of the invalid argument.

| Edit this page View Source

InvalidArgumentException(string, string)

Initializes a new instance of the InvalidArgumentException class.

Declaration
public InvalidArgumentException(string message, string argumentName)
Parameters
Type Name Description
string message

Message that describes the exception.

string argumentName

Name of the invalid argument.

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