TransportBindingElementImporter.IPolicyImportExtension.ImportPolicy Method (MetadataImporter, PolicyConversionContext)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

void IPolicyImportExtension.ImportPolicy(
	MetadataImporter importer,
	PolicyConversionContext policyContext
)

Parameters

importer
Type: System.ServiceModel.Description.MetadataImporter

The MetadataImporter that performs the import.

policyContext
Type: System.ServiceModel.Description.PolicyConversionContext

The PolicyConversionContext for the contract binding element.

.NET Framework
Available since 3.0
Return to top
Show: