SoapTransportImporter Class

Definition

Serves as a base class for derived classes that import SOAP transmission protocols into XML Web services.

public abstract class SoapTransportImporter
Inheritance
SoapTransportImporter

Remarks

Waarschuwing

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.

For more information about specifying protocols for XML Web services, see XML Web Services Using ASP.NET. For more information about Web Services Description Language (WSDL), see the WSDL specification.

Notes to Implementers

When you inherit from SoapTransportImporter, you must override the following members: IsSupportedTransport(String) and ImportClass().

The default implementations of these members perform no action.

Constructors

SoapTransportImporter()

Initializes a new instance of the SoapTransportImporter class.

Properties

ImportContext

Gets or sets a reference to the SoapProtocolImporter performing the import action.

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

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)

When overridden in a derived class, this method determines whether the specified transport protocol is supported by the XML Web service.

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

Product Versies
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1