Edytuj

Udostępnij za pośrednictwem


IWsdlImportExtension.BeforeImport Method

Definition

Called prior to importing metadata documents.

public:
 void BeforeImport(System::Web::Services::Description::ServiceDescriptionCollection ^ wsdlDocuments, System::Xml::Schema::XmlSchemaSet ^ xmlSchemas, System::Collections::Generic::ICollection<System::Xml::XmlElement ^> ^ policy);
public void BeforeImport (System.Web.Services.Description.ServiceDescriptionCollection wsdlDocuments, System.Xml.Schema.XmlSchemaSet xmlSchemas, System.Collections.Generic.ICollection<System.Xml.XmlElement> policy);
abstract member BeforeImport : System.Web.Services.Description.ServiceDescriptionCollection * System.Xml.Schema.XmlSchemaSet * System.Collections.Generic.ICollection<System.Xml.XmlElement> -> unit
Public Sub BeforeImport (wsdlDocuments As ServiceDescriptionCollection, xmlSchemas As XmlSchemaSet, policy As ICollection(Of XmlElement))

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