Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ArgumentException Constructor

Initializes a new instance of the ArgumentException class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by the XNA Framework Supported by Portable Class Library ArgumentException() Initializes a new instance of the ArgumentException class.
Public method Supported by the XNA Framework Supported by Portable Class Library ArgumentException(String) Initializes a new instance of the ArgumentException class with a specified error message.
Protected method ArgumentException(SerializationInfo, StreamingContext) Initializes a new instance of the ArgumentException class with serialized data.
Public method Supported by the XNA Framework Supported by Portable Class Library ArgumentException(String, Exception) Initializes a new instance of the ArgumentException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Public method Supported by the XNA Framework Supported by Portable Class Library ArgumentException(String, String) Initializes a new instance of the ArgumentException class with a specified error message and the name of the parameter that causes this exception.
Public method Supported by Portable Class Library ArgumentException(String, String, Exception) Initializes a new instance of the ArgumentException class with a specified error message, the parameter name, and a reference to the inner exception that is the cause of this exception.
Top
Show:
© 2015 Microsoft