CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
Details_ArgumentException Class Reference

ArgumentException is thrown when an argument passed to a method being invoked is invalid. Never create instances of this class manually. Use the ArgumentException class instead. Never wrap the ArgumentException class instances into System::SmartPtr. More...

#include <exceptions.h>

Inherited by System::ComponentModel::Details_InvalidEnumArgumentException, System::Globalization::Details_CultureNotFoundException, System::Text::Details_DecoderFallbackException, and System::Text::Details_EncoderFallbackException.

Detailed Description

ArgumentException is thrown when an argument passed to a method being invoked is invalid. Never create instances of this class manually. Use the ArgumentException class instead. Never wrap the ArgumentException class instances into System::SmartPtr.

ArgumentNullException is thrown when a method being invoked is passed a null argument when the method expects a non-null value. Never create instances of this class manually. Use the ArgumentNullException class instead. Never wrap the ArgumentNullException class instances into System::SmartPtr.