Name

Types

Synopsis

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 NotInheritable Class Types : Inherits DocumentableItem
' Public Constructors
   Public Sub New() 
' Public Instance Properties
   Public ReadOnly Property Extensions As ServiceDescriptionFormatExtensionCollection  
   Public ReadOnly Property Schemas As XmlSchemas  
End Class

Hierarchy

System.ObjectDocumentableItem Types

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.