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


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

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

void IWsdlImportExtension.BeforeImport(
	ServiceDescriptionCollection wsdlDocuments,
	XmlSchemaSet xmlSchemas,
	ICollection<XmlElement> policy


Type: System.Web.Services.Description.ServiceDescriptionCollection

The ServiceDescriptionCollection that describes the services.

Type: System.Xml.Schema.XmlSchemaSet

The XmlSchemaSet that describes the wsdlDocuments.

Type: System.Collections.Generic.ICollection<XmlElement>

The ICollection<T> of type XmlElement that contains the policy elements.

The BeforeImport methods of all registered IWsdlImportExtension objects is called before anything is imported from the supplied metadata. At this point, you can directly modify the metadata that is subsequently imported into standard binding objects.

.NET Framework
Available since 3.0
Return to top