XdmModuleAttribute Constructor (string)XdmModuleAttribute Constructor (String)XdmModuleAttribute Constructor (String^)

Initializes a new instance of the XdmModuleAttributeXdmModuleAttributeXdmModuleAttribute class.

Syntax

Public Sub New ( _
    targetNamespace As String _
)
public XdmModuleAttribute(
    string targetNamespace
)
public:
XdmModuleAttribute(
    String^ targetNamespace
)
 

Parameters

targetNamespace

Type: System.StringSystem.StringSystem::String^

The target namespace of the module.

Remarks

All exported functions in the module are in the target namespace.

If targetNamespace is set to null a null reference (Nothing in Visual Basic) nullptr then the namespace is set to a URI with scheme clitype and with the path equal to the full CLR name of the type, URL encoded if necessary.

If targetNamespace is set to a value that is not a valid absolute

 
xs:anyURI
 
then a InvalidOperationExceptionInvalidOperationExceptionInvalidOperationException will be thrown when an attempt is made to load the module.