TransportBindingElementImporter Class

Definition

Imports standard transport binding elements from Web Services Description Language (WSDL) documents with attached policy expressions.

public ref class TransportBindingElementImporter : System::ServiceModel::Description::IPolicyImportExtension, System::ServiceModel::Description::IWsdlImportExtension
public class TransportBindingElementImporter : System.ServiceModel.Description.IPolicyImportExtension, System.ServiceModel.Description.IWsdlImportExtension
type TransportBindingElementImporter = class
    interface IWsdlImportExtension
    interface IPolicyImportExtension
Public Class TransportBindingElementImporter
Implements IPolicyImportExtension, IWsdlImportExtension
Inheritance
TransportBindingElementImporter
Implements

Remarks

The TransportBindingElementImporter type is an implementation of the IWsdlImportExtension and IPolicyImportExtension interfaces. It imports the HttpTransportBindingElement, HttpsTransportBindingElement, TcpTransportBindingElement, NamedPipeTransportBindingElement, MsmqTransportBindingElement, and PeerTransportBindingElement instances from WSDL service metadata.

When these TransportBindingElement types are imported, the TransportBindingElementImporter type also imports the addressing information from the WSDL metadata.

Constructors

TransportBindingElementImporter()

Initializes a new instance of the TransportBindingElementImporter class.

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

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IPolicyImportExtension.ImportPolicy(MetadataImporter, PolicyConversionContext)

Imports a TransportBindingElement instance from the policy attached to the WSDL binding.

IWsdlImportExtension.BeforeImport(ServiceDescriptionCollection, XmlSchemaSet, ICollection<XmlElement>)

Adds custom policy assertions to the WSDL bindings in WSDL documents that are to be imported.

IWsdlImportExtension.ImportContract(WsdlImporter, WsdlContractConversionContext)

This method does nothing.

IWsdlImportExtension.ImportEndpoint(WsdlImporter, WsdlEndpointConversionContext)

Imports addressing information from the WSDL port and imports an HttpTransportBindingElement or an HttpsTransportBindingElement from the SOAP transport URI if a TransportBindingElement is not already imported from policy attached to the WSDL.

Applies to

See also