Compartilhar via


MessageEncodingBindingElementImporter.IWsdlImportExtension.BeforeImport Método

Definição

Chamado antes de importar os documentos de metadados associados à codificação.

 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

Parâmetros

wsdlDocuments
ServiceDescriptionCollection

O ServiceDescriptionCollection que descreve os serviços.

xmlSchemas
XmlSchemaSet

O XmlSchemaSet que contém o esquema para o wsdlDocuments.

policy
ICollection<XmlElement>

O ICollection<T> do tipo XmlElement que contém os elementos de política.

Implementações

Comentários

Esse método é usado para inspecionar, modificar e interpretar a política e o WSDL antes da MessageEncodingBindingElementImporter importação.

Aplica-se a