NAnt SDK Documentation - v0.92 |

# CommandLineArgumentException Class

The exception that is thrown when one of the command-line arguments provided is not valid.

For a list of all members of this type, see CommandLineArgumentException Members.

System.Object
System.Exception
System.SystemException
System.ArgumentException
NAnt.Core.Util.CommandLineArgumentException

[Visual Basic]
<Serializable, _ Serializable>
NotInheritable Public Class CommandLineArgumentException
Inherits ArgumentException
[C#]
[Serializable]
[Serializable]
public sealed class CommandLineArgumentException : ArgumentException

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Requirements

Namespace: NAnt.Core.Util

Assembly: NAnt.Core (in NAnt.Core.dll)

#### See Also

CommandLineArgumentException Members | NAnt.Core.Util Namespace