Types 类

定义

描述与交换消息相关的数据类型定义。 此类不能被继承。

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
继承
属性

注解

此类是 XML Web 服务的数据类型定义的容器。 请注意,此类不表示类实例 Type 的集合,因为它的名称可能暗示。 相反,它对应于根元素括起来的 <types> Web 服务描述语言 (WSDL) <definitions> 元素。 有关 WSDL 的详细信息,请参阅 WSDL 规范。

Types 类具有两个只读属性, Schemas 表示 ExtensionsXML Web 服务可用的数据类型定义的集合。

构造函数

名称 说明
Types()

初始化 Types 类的新实例。

属性

名称 说明
Documentation

获取或设置该实例 DocumentableItem的文本文档。

(继承自 DocumentableItem)
DocumentationElement

获取或设置 . DocumentableItem的文档元素。

(继承自 DocumentableItem)
ExtensibleAttributes

获取或设置一个类型 XmlAttribute 数组,该数组表示 WSDL 的属性扩展,以符合 Web 服务互操作性(WS-I) 基本配置文件 1.1。

(继承自 DocumentableItem)
Extensions

获取 XML Web 服务中包含的元素的 ServiceDescriptionFormatExtension 集合。 此属性为只读。

Namespaces

获取或设置构造对象时 ServiceDescription 用于保留命名空间前缀和命名空间的命名空间前缀和命名空间的字典。

(继承自 DocumentableItem)
Schemas

获取作为 XML Web 服务的数据类型定义包含的 XML 架构的集合。 此属性为只读。

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于