CodeIdentifiers Class
Assembly: System.Xml (in system.xml.dll)
The following list identifies tools and classes that use the CodeIdentifiers:
-
The Web Services Description Language Tool (Wsdl.exe), or the ServiceDescriptionImporter class, while generating client proxy classes or abstract server classes from a Web Services Description Language (WSDL) document.
-
The XML Schema Definition Tool (Xsd.exe) tool while generating classes from XML Schema Definition (XSD) documents.
-
The ServiceDescriptionReflector class while creating ServiceDescription objects from classes that are identified as Web services via the WebServiceAttribute attribute.
Instead of using the CodeIdentifiers class directly, use the aforementioned tools or classes. If you want to control the names of code entities that are bound to XML Schema or Web service definitions, use the associated attributes.
Depending on its scope, a CodeIdentifiers instance can be used to maintain the names of any of the items in the following list:
-
Types, methods, or fields.
-
The parameters and return value of a method corresponding to WSDL input and output messages.
-
Objects within a ServiceDescription instance that can be serialized to a WSDL document.
Typically, the class is used to avoid naming collisions between code entities within a particular scope, including collisions with the name of a containing entity.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.