Export (0) Print
Expand All

ExternalException Constructor

.NET Framework 1.1

Initializes a new instance of the ExternalException class.

Overload List

Initializes a new instance of the ExternalException class with default properties.

Supported by the .NET Compact Framework.

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

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

Supported by the .NET Compact Framework.

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

Initializes a new instance of the ExternalException class from serialization data.

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

Initializes a new instance of the ExternalException 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 ExternalException(string, Exception);
[C++] public: ExternalException(String*, Exception*);
[JScript] public function ExternalException(String, Exception);

Initializes a new instance of the ExternalException class with a specified error message and the HRESULT of the error.

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

See Also

ExternalException Class | ExternalException Members | System.Runtime.InteropServices Namespace

Show:
© 2015 Microsoft