IWsdlImportExtension.BeforeImport Method

Definition

Called prior to importing metadata documents.

C#
public void BeforeImport(System.Web.Services.Description.ServiceDescriptionCollection wsdlDocuments, System.Xml.Schema.XmlSchemaSet xmlSchemas, System.Collections.Generic.ICollection<System.Xml.XmlElement> policy);

Parameters

wsdlDocuments
ServiceDescriptionCollection

The service descriptions to modify.

xmlSchemas
XmlSchemaSet

The schema collection to be used when importing.

policy
ICollection<XmlElement>

The policy assertions used when importing.

Remarks

The BeforeImport methods of all registered IWsdlImportExtension objects is called before anything is imported from the supplied metadata.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1