Share via


DataContractSerializerMessageContractImporter.IWsdlImportExtension.BeforeImport 方法

定義

指定匯入一組 WSDL 文件時,要使用的服務描述和結構描述集合。

 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

參數

wsdlDocuments
ServiceDescriptionCollection

ServiceDescriptionCollection,表示要檢查的 WSDL 文件。

xmlSchemas
XmlSchemaSet

XmlSchemaSet,表示轉換訊息時要使用的結構描述。

policy
ICollection<XmlElement>

ICollection<T>,包含匯入訊息時使用的原則文件。

實作

備註

指定匯入一組 WSDL 文件時,要使用的服務描述和結構描述集合。

適用於