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

StandardBindingImporter Class

 

Provides an extensibility point for mapping WSDL contracts and policy assertions into Windows Communication Foundation (WCF) standard bindings.

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

System.Object
  System.ServiceModel.Channels.StandardBindingImporter

Public Class StandardBindingImporter
	Implements IWsdlImportExtension

NameDescription
System_CAPS_pubmethodStandardBindingImporter()

Initializes a new instance of the StandardBindingImporter 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_privmethodIWsdlImportExtension.BeforeImport(ServiceDescriptionCollection, XmlSchemaSet, ICollection(Of XmlElement))

Called prior to importing the metadata documents associated with the standard binding.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIWsdlImportExtension.ImportContract(WsdlImporter, WsdlContractConversionContext)

Provides an extensibility point for importing WSDL contract information for standard bindings.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIWsdlImportExtension.ImportEndpoint(WsdlImporter, WsdlEndpointConversionContext)

Provides an extensibility point for mapping endpoints defined in WSDL into the service description.

Override this class to extend the standard mapping between WSDL and a standard binding. Then attach your custom object to a WsdlImporter either programmatically or by using an application configuration file. You can also attach your custom object to the internal WsdlImporter used by the ServiceModel Metadata Utility Tool (Svcutil.exe) using an application configuration file.

Use the IWsdlImportExtension.BeforeImport method to directly modify the metadata that is then imported into standard binding objects.

.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