Initializes a new instance of the UnsupportedDocumentException class indicating the root element name and namespace for the document that caused the error.

Namespace:  BargeEx
Assembly:  BargeEx (in BargeEx.dll)
Version: 3.0.400.140 (3.0.400.140)

Syntax

C#
public UnsupportedDocumentException(
	string documentElementName,
	string documentNamespace
)
Visual Basic (Declaration)
Public Sub New ( _
	documentElementName As String, _
	documentNamespace As String _
)
Visual C++
public:
UnsupportedDocumentException(
	String^ documentElementName, 
	String^ documentNamespace
)

Parameters

documentElementName
Type: System..::.String
The root element name for the document that caused the error.
documentNamespace
Type: System..::.String
The namespace for the document that caused the error.

Remarks

This constructor initializes a new instance of the UnsupportedDocumentException class indicating the root element name and namespace for the document that caused the error.

See Also