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

ApplicationException Constructor

.NET Framework 1.1

Initializes a new instance of the ApplicationException class.

Overload List

Initializes a new instance of the ApplicationException class.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New()
[C#] public ApplicationException();
[C++] public: ApplicationException();
[JScript] public function ApplicationException();

Initializes a new instance of the ApplicationException class with a specified error message.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String)
[C#] public ApplicationException(string);
[C++] public: ApplicationException(String*);
[JScript] public function ApplicationException(String);

Initializes a new instance of the ApplicationException class with serialized data.

[Visual Basic] Protected Sub New(SerializationInfo, StreamingContext)
[C#] protected ApplicationException(SerializationInfo, StreamingContext);
[C++] protected: ApplicationException(SerializationInfo*, StreamingContext);
[JScript] protected function ApplicationException(SerializationInfo, StreamingContext);

Initializes a new instance of the ApplicationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, Exception)
[C#] public ApplicationException(string, Exception);
[C++] public: ApplicationException(String*, Exception*);
[JScript] public function ApplicationException(String, Exception);

See Also

ApplicationException Class | ApplicationException Members | System Namespace

Show:
© 2015 Microsoft