StandardBindingImporter Class

Definition

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

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

Remarks

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.

Constructors

StandardBindingImporter()

Initializes a new instance of the StandardBindingImporter 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

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

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

IWsdlImportExtension.ImportContract(WsdlImporter, WsdlContractConversionContext)

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

IWsdlImportExtension.ImportEndpoint(WsdlImporter, WsdlEndpointConversionContext)

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

Applies to