Share via


IWsdlImportExtension.BeforeImport 方法

定義

在匯入中繼資料文件之前呼叫。

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))

參數

wsdlDocuments
ServiceDescriptionCollection

要修改的服務描述。

xmlSchemas
XmlSchemaSet

要在匯入時使用的結構描述集合。

policy
ICollection<XmlElement>

在匯入時使用的原則判斷提示。

備註

在從提供的中繼資料匯入任何內容之前,會呼叫所有註冊的 BeforeImport 物件的 IWsdlImportExtension 方法。

適用於