SoapTransportImporter 类

定义

用作将 SOAP 传输协议导入 XML Web services 的派生类的基类。Serves as a base class for derived classes that import SOAP transmission protocols into XML Web services.

public ref class SoapTransportImporter abstract
public abstract class SoapTransportImporter
type SoapTransportImporter = class
Public MustInherit Class SoapTransportImporter
继承
SoapTransportImporter

注解

注意

尽管此类旨在用作用户定义的类的基类,但当前 XML Web services 的实现不支持此类用户定义的类。Although this class is designed to serve as the base class for user-defined classes, the current implementation of XML Web services does not support such user-defined classes.

有关为 XML Web services 指定协议的详细信息,请参阅使用 ASP.NET 的 Xml Web servicesFor more information about specifying protocols for XML Web services, see XML Web Services Using ASP.NET. 有关 Web 服务描述语言(WSDL)的详细信息,请参阅WSDL规范。For more information about Web Services Description Language (WSDL), see the WSDL specification.

实施者说明

当从 SoapTransportImporter 继承时,必须重写下面的成员:IsSupportedTransport(String)ImportClass()When you inherit from SoapTransportImporter, you must override the following members: IsSupportedTransport(String) and ImportClass().

这些成员的默认实现不执行任何操作。The default implementations of these members perform no action.

构造函数

SoapTransportImporter()

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

属性

ImportContext

获取或设置对执行导入操作的 SoapProtocolImporter 的引用。Gets or sets a reference to the SoapProtocolImporter performing the import action.

方法

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)
ImportClass()

当在派生类中重写时,此方法使用 ServiceDescription 对象模型(可通过 ImportContext 属性获取)中包含的信息将传输特定代码添加到所生成的类中。When overridden in a derived class, this method uses information contained in the ServiceDescription object model (available through the ImportContext property) to add transport-specific code to the class being generated.

IsSupportedTransport(String)

当在派生类中重写时,该方法确定 XML Web services 是否支持指定的传输协议。When overridden in a derived class, this method determines whether the specified transport protocol is supported by the XML Web service.

MemberwiseClone()

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

(继承自 Object)
ToString()

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

(继承自 Object)

适用于