Editare

Partajați prin


SoapTransportImporter Class

Definition

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
Inheritance
SoapTransportImporter

Remarks

Caution

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