Szerkesztés

Megosztás a következőn keresztül:


MessageEncodingBindingElementImporter.IWsdlImportExtension.BeforeImport Method

Definition

Called prior to importing the metadata documents associated with the encoding.

 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 contains the schema for the wsdlDocuments.

policy
ICollection<XmlElement>

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

Implements

Remarks

This method is used to inspect, modify and interpret the policy and WSDL before the MessageEncodingBindingElementImporter does the import.

Applies to