Edit

Bagikan melalui


Types Class

Definition

Describes data type definitions relevant to exchanged messages. This class cannot be inherited.

public ref class Types sealed : System::Web::Services::Description::DocumentableItem
[System.Web.Services.Configuration.XmlFormatExtensionPoint("Extensions")]
public sealed class Types : System.Web.Services.Description.DocumentableItem
[<System.Web.Services.Configuration.XmlFormatExtensionPoint("Extensions")>]
type Types = class
    inherit DocumentableItem
Public NotInheritable Class Types
Inherits DocumentableItem
Inheritance
Attributes

Remarks

This class is a container for data type definitions for the XML Web service. Note especially that this class does not represent a collection of instances of the Type class, as its name might imply. Instead, it corresponds to the Web Services Description Language (WSDL) <types> element enclosed by the <definitions> root element. For more information about WSDL, see the WSDL specification.

The Types class has two read-only properties, Schemas and Extensions, representing the collections of data type definitions available to an XML Web service.

Constructors

Types()

Initializes a new instance of the Types class.

Properties

Documentation

Gets or sets the text documentation for the instance of the DocumentableItem.

(Inherited from DocumentableItem)
DocumentationElement

Gets or sets the documentation element for the DocumentableItem.

(Inherited from DocumentableItem)
ExtensibleAttributes

Gets or sets an array of type XmlAttribute that represents attribute extensions of WSDL to comply with Web Services Interoperability (WS-I) Basic Profile 1.1.

(Inherited from DocumentableItem)
Extensions

Gets the collection of ServiceDescriptionFormatExtension elements included in the XML Web service. This property is read-only.

Namespaces

Gets or sets the dictionary of namespace prefixes and namespaces used to preserve namespace prefixes and namespaces when a ServiceDescription object is constructed.

(Inherited from DocumentableItem)
Schemas

Gets the collection of XML schemas included as data type definitions for the XML Web service. This property is read-only.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to