TransportBindingElementImporter TransportBindingElementImporter TransportBindingElementImporter 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
TransportBindingElementImporterTransportBindingElementImporterTransportBindingElementImporterTransportBindingElementImporter
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() TransportBindingElementImporter() TransportBindingElementImporter() TransportBindingElementImporter()

Initializes a new instance of the TransportBindingElementImporter class.

Explicit Interface Implementations

IPolicyImportExtension.ImportPolicy(MetadataImporter, PolicyConversionContext) IPolicyImportExtension.ImportPolicy(MetadataImporter, PolicyConversionContext) IPolicyImportExtension.ImportPolicy(MetadataImporter, PolicyConversionContext) IPolicyImportExtension.ImportPolicy(MetadataImporter, PolicyConversionContext)

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

IWsdlImportExtension.BeforeImport(ServiceDescriptionCollection, XmlSchemaSet, ICollection<XmlElement>) IWsdlImportExtension.BeforeImport(ServiceDescriptionCollection, XmlSchemaSet, ICollection<XmlElement>) IWsdlImportExtension.BeforeImport(ServiceDescriptionCollection, XmlSchemaSet, ICollection<XmlElement>) 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) IWsdlImportExtension.ImportContract(WsdlImporter, WsdlContractConversionContext) IWsdlImportExtension.ImportContract(WsdlImporter, WsdlContractConversionContext) IWsdlImportExtension.ImportContract(WsdlImporter, WsdlContractConversionContext)

This method does nothing.

IWsdlImportExtension.ImportEndpoint(WsdlImporter, WsdlEndpointConversionContext) IWsdlImportExtension.ImportEndpoint(WsdlImporter, WsdlEndpointConversionContext) IWsdlImportExtension.ImportEndpoint(WsdlImporter, WsdlEndpointConversionContext) 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.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also