StandardBindingImporter.IWsdlImportExtension.BeforeImport Method

Definition

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

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

Parameters

wsdlDocuments
ServiceDescriptionCollection

The ServiceDescriptionCollection that describes the services.

xmlSchemas
XmlSchemaSet

The XmlSchemaSet that describes the wsdlDocuments.

policy
ICollection<XmlElement>

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

Implements

Remarks

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.

Applies to

제품 버전
.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