共用方式為


StandardBindingImporter.IWsdlImportExtension.ImportContract 方法

定義

提供可匯入標準繫結之 WSDL 合約資訊的擴充點。

 virtual void System.ServiceModel.Description.IWsdlImportExtension.ImportContract(System::ServiceModel::Description::WsdlImporter ^ importer, System::ServiceModel::Description::WsdlContractConversionContext ^ context) = System::ServiceModel::Description::IWsdlImportExtension::ImportContract;
void IWsdlImportExtension.ImportContract (System.ServiceModel.Description.WsdlImporter importer, System.ServiceModel.Description.WsdlContractConversionContext context);
abstract member System.ServiceModel.Description.IWsdlImportExtension.ImportContract : System.ServiceModel.Description.WsdlImporter * System.ServiceModel.Description.WsdlContractConversionContext -> unit
override this.System.ServiceModel.Description.IWsdlImportExtension.ImportContract : System.ServiceModel.Description.WsdlImporter * System.ServiceModel.Description.WsdlContractConversionContext -> unit
Sub ImportContract (importer As WsdlImporter, context As WsdlContractConversionContext) Implements IWsdlImportExtension.ImportContract

參數

importer
WsdlImporter

用來匯入及解析 WSDL 中繼資料的 WsdlImporter

context
WsdlContractConversionContext

WsdlContractConversionContext,其提供用來從 WSDL 轉換為服務描述的內容。

實作

適用於