Compartilhar via


DataContractSerializerMessageContractImporter.IWsdlImportExtension.ImportContract Método

Definição

Importa um contrato de mensagem de um documento 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

Parâmetros

importer
WsdlImporter

Um WsdlImporter a ser usado durante a importação.

contractContext
WsdlContractConversionContext

Um WsdlContractConversionContext que representa o contexto de contrato.

Implementações

Comentários

Importa um contrato de mensagem de um documento WSDL.

Aplica-se a