Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ArgumentException Properties

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.)
Protected 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.)

In XNA Framework 3.0, this member is inherited from Exception.Message.


In Portable Class Library Portable Class Library, this member is inherited from 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 immediate frames on the call stack. (Inherited from Exception.)
Public property TargetSite Gets the method that throws the current exception. (Inherited from Exception.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.