ArgumentException CLASS

Exception caused by an illegal argument. This is mostly a business error which is identified at the early stage of function call.

Parent Class

All Members


TypeNameSignature
constructorArgumentExceptionpublic ArgumentException(string)

Constructors


public ArgumentException(string name)

Create a standard ArgumentException instance with specified parameter name. The message format for this exception is fixed.

Parameters

  • name The name of problematic parameter.