NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

FileNotFoundException Constructor

Creates a new instance of the FileNotFoundException class with optional message string and Exception reference.

Overload List

Creates a new instance of the FileNotFoundException class with its message string set to the empty string ("") and its HRESULT set to COR_E_FILENOTFOUND.

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

Creates a new instance of the FileNotFoundException class with its message string set to message and its HRESULT set to COR_E_FILENOTFOUND.

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

Creates a new instance of the FileNotFoundException class with its message string set to message and inner and its HRESULT set to COR_E_FILENOTFOUND.

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

See Also

FileNotFoundException Class | FileNotFoundException Members | System.IO Namespace