EndpointAddressAugust2004.GetSchema(XmlSchemaSet) 方法

定义

从指定的缓存架构返回 XML 限定名,该名称描述 1.0 版终结点地址的 XML 表示形式。Returns an XML-qualified name that describes the XML representation of the version 1 endpoint address from a specified cached schema.

public:
 static System::Xml::XmlQualifiedName ^ GetSchema(System::Xml::Schema::XmlSchemaSet ^ xmlSchemaSet);
public static System.Xml.XmlQualifiedName GetSchema (System.Xml.Schema.XmlSchemaSet xmlSchemaSet);
static member GetSchema : System.Xml.Schema.XmlSchemaSet -> System.Xml.XmlQualifiedName
Public Shared Function GetSchema (xmlSchemaSet As XmlSchemaSet) As XmlQualifiedName

参数

xmlSchemaSet
XmlSchemaSet

一个 XmlSchema,其中包含终结点地址的 XML 架构定义语言 (XSD) 架构的缓存。A XmlSchema that contains a cache of the XML schema definition language (XSD) schemas for the endpoint address.

返回

XmlQualifiedName

一个 XmlQualifiedName,描述终结点地址的 XML 表示形式。A XmlQualifiedName that describes the XML representation of the endpoint address.

例外

xmlSchemaSetnullxmlSchemaSet is null.

注解

此方法是序列化协定所必需的。This method is required by the serialization contract. 该方法必须是公共类型,XmlSerializer 才能看到它。It must be public to be seen by the XmlSerializer. 开发人员不可调用此方法。It is not intended to be called by developers.

适用于