DataContractSerializerMessageContractImporter.IWsdlImportExtension.ImportContract 方法

定义

从 WSDL 文档导入消息协定。

 virtual void System.ServiceModel.Description.IWsdlImportExtension.ImportContract(System::ServiceModel::Description::WsdlImporter ^ importer, System::ServiceModel::Description::WsdlContractConversionContext ^ contractContext) = System::ServiceModel::Description::IWsdlImportExtension::ImportContract;
void IWsdlImportExtension.ImportContract (System.ServiceModel.Description.WsdlImporter importer, System.ServiceModel.Description.WsdlContractConversionContext contractContext);
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, contractContext As WsdlContractConversionContext) Implements IWsdlImportExtension.ImportContract

参数

importer
WsdlImporter

要在导入时使用的 WsdlImporter

contractContext
WsdlContractConversionContext

一个 WsdlContractConversionContext ,它表示协定上下文。

实现

注解

从 WSDL 文档导入消息协定。

适用于