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!

PathTooLongException Constructor

Initializes a new instance of the PathTooLongException class.

Overload List

Initializes a new instance of the PathTooLongException class with its HRESULT set to COR_E_PATHTOOLONG.

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

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

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

Creates a new instance of the PathTooLongException class that displays the root cause of the exception. Its message string is set to message and its HRESULT is set to COR_E_PATHTOOLONG.

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

See Also

PathTooLongException Class | PathTooLongException Members | System.IO Namespace