This class represents the WSDL <types> element. It provides abstract data type definitions that can be used for the WSDL messages. You can access them through the Schemas property. The preferred (and default) type system used with WSDL is XSD. You can also add type extensibility elements, which are represented in this class by the Extensions property. This property will contain an empty collection in the default implementation of this class.
When ASP.NET generates a WSDL document for your web service, it includes an entry in the <types> element for every method, specifying the input parameter information. It also specifies the return value information, if applicable, in an entry that has your method name with the word "Response" added (for example, GetStockQuoteResponse). Additionally, if your web method accepts or returns a custom class or structure, a separate entry will be added to the <types> element to describe the data members of that class.
public sealed class Types : DocumentableItem { // Public Constructors public Types( ); // Public Instance Properties public ServiceDescriptionFormatExtensionCollection Extensions{get; } public XmlSchemas Schemas{get; } }