Redigera

Dela via


StandardBindingImporter.IWsdlImportExtension.BeforeImport Method

Definition

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

 virtual void System.ServiceModel.Description.IWsdlImportExtension.BeforeImport(System::Web::Services::Description::ServiceDescriptionCollection ^ wsdlDocuments, System::Xml::Schema::XmlSchemaSet ^ xmlSchemas, System::Collections::Generic::ICollection<System::Xml::XmlElement ^> ^ policy) = System::ServiceModel::Description::IWsdlImportExtension::BeforeImport;
void IWsdlImportExtension.BeforeImport (System.Web.Services.Description.ServiceDescriptionCollection wsdlDocuments, System.Xml.Schema.XmlSchemaSet xmlSchemas, System.Collections.Generic.ICollection<System.Xml.XmlElement> policy);
abstract member System.ServiceModel.Description.IWsdlImportExtension.BeforeImport : System.Web.Services.Description.ServiceDescriptionCollection * System.Xml.Schema.XmlSchemaSet * System.Collections.Generic.ICollection<System.Xml.XmlElement> -> unit
override this.System.ServiceModel.Description.IWsdlImportExtension.BeforeImport : System.Web.Services.Description.ServiceDescriptionCollection * System.Xml.Schema.XmlSchemaSet * System.Collections.Generic.ICollection<System.Xml.XmlElement> -> unit
Sub BeforeImport (wsdlDocuments As ServiceDescriptionCollection, xmlSchemas As XmlSchemaSet, policy As ICollection(Of XmlElement)) Implements IWsdlImportExtension.BeforeImport

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