SaaS CMS has officially launched! Learn more now.

Class ArgumentException

Summary description for ArgumentException.

Inheritance
System.Object
System.Exception
ArgumentException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: EPiServer.BaseLibrary
Assembly: EPiServer.BaseLibrary.dll
Version: 8.11.0
Syntax
public class ArgumentException : BaseException, ISerializable, _Exception

Constructors

ArgumentException()

Declaration
public ArgumentException()

ArgumentException(SerializationInfo, StreamingContext)

Declaration
protected ArgumentException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

ArgumentException(String)

Declaration
public ArgumentException(string message)
Parameters
Type Name Description
System.String message

ArgumentException(String, Exception)

Declaration
public ArgumentException(string message, Exception innerException)
Parameters
Type Name Description
System.String message
System.Exception innerException

ArgumentException(String, String)

Declaration
public ArgumentException(string message, string parameter)
Parameters
Type Name Description
System.String message
System.String parameter

Fields

ParameterMessage

Declaration
public const string ParameterMessage = "Parameter {0} : {1}"
Field Value
Type Description
System.String

ParameterNullFailure

Declaration
public const string ParameterNullFailure = "Argument can't be null."
Field Value
Type Description
System.String

Methods

Create(String, Exception, Object[])

Declaration
public static ArgumentException Create(string message, Exception ex, params object[] arguments)
Parameters
Type Name Description
System.String message
System.Exception ex
System.Object[] arguments
Returns
Type Description
ArgumentException

Create(String, Object[])

Declaration
public static ArgumentException Create(string message, params object[] arguments)
Parameters
Type Name Description
System.String message
System.Object[] arguments
Returns
Type Description
ArgumentException

Implements

System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception

Extension Methods