DataContractSerializerMessageContractImporter.IWsdlImportExtension.ImportContract 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 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 文件匯入訊息合約。