ServiceDescriptionFormatExtension 类

定义

表示添加到 XML Web services 的扩展性元素。Represents an extensibility element added to an XML Web service.

public ref class ServiceDescriptionFormatExtension abstract
public abstract class ServiceDescriptionFormatExtension
type ServiceDescriptionFormatExtension = class
Public MustInherit Class ServiceDescriptionFormatExtension
继承
ServiceDescriptionFormatExtension
派生

注解

在派生类中, ServiceDescriptionFormatExtension 类允许用户除了在 Web 服务描述语言 (WSDL) 规范中定义的元素之外,还可以定义扩展性元素。In a derived class, the ServiceDescriptionFormatExtension class allows users to define extensibility elements in addition to those defined in the Web Services Description Language (WSDL) specification. 可将扩展性元素添加到 ServiceDescription 类层次结构内任意多个级别的。Extensibility elements can be added to a ServiceDescription at any of several levels within the class hierarchy. 因此,许多派生自类的类 DocumentableItem (包括 ServiceDescription 类) 具有 Extensions 属性,该属性将返回 ServiceDescriptionFormatExtensionCollectionThus many classes derived from the DocumentableItem class (including the ServiceDescription class) have an Extensions property, which returns a ServiceDescriptionFormatExtensionCollection.

构造函数

ServiceDescriptionFormatExtension()

初始化 ServiceDescriptionFormatExtension 类的新实例。Initializes a new instance of the ServiceDescriptionFormatExtension class.

属性

Handled

获取或设置一个值,该值指示当导入扩展性元素时,导入进程是否使用 ServiceDescriptionFormatExtensionGets or sets a value indicating whether the ServiceDescriptionFormatExtension is used by the import process when the extensibility element is imported.

Parent

获取 ServiceDescriptionFormatExtension 的父级。Gets the parent of the ServiceDescriptionFormatExtension.

Required

获取或设置一个值,该值指示 ServiceDescriptionFormatExtension 是否是它所引用的操作所必需的。Gets or sets a value indicating whether the ServiceDescriptionFormatExtension is necessary for the action to which it refers.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于