TransportBindingElementImporter Class
TOC
Collapse the table of content
Expand the table of content

TransportBindingElementImporter Class

 

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

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.ServiceModel.Channels.TransportBindingElementImporter

public class TransportBindingElementImporter : IWsdlImportExtension, 
	IPolicyImportExtension

NameDescription
System_CAPS_pubmethodTransportBindingElementImporter()

Initializes a new instance of the TransportBindingElementImporter class.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIPolicyImportExtension.ImportPolicy(MetadataImporter, PolicyConversionContext)

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

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

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIWsdlImportExtension.ImportContract(WsdlImporter, WsdlContractConversionContext)

This method does nothing.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIWsdlImportExtension.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.

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.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft