ArgumentException Properties

May 11, 2014

The ArgumentException type exposes the following members.

  NameDescription
Public property Data Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.)
Public property HelpLink Gets or sets a link to the help file associated with this exception. (Inherited from Exception.)
Public property HResult Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.)
Public property InnerException Gets the Exception instance that caused the current exception. (Inherited from Exception.)
Public property Message Gets the error message and the parameter name, or only the error message if no parameter name is set. (Overrides Exception.Message.)
Public property ParamName Gets the name of the parameter that causes this exception.
Public property Source Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.)
Public property StackTrace Gets a string representation of the frames on the call stack at the time the current exception was thrown. (Inherited from Exception.)
Top

Show:
© 2014 Microsoft