Επεξεργασία

Κοινή χρήση μέσω


TextMessageEncodingBindingElement.IWsdlExportExtension.ExportContract Method

Definition

Generates WSDL contract information from encoding policies contained in the binding element.

 virtual void System.ServiceModel.Description.IWsdlExportExtension.ExportContract(System::ServiceModel::Description::WsdlExporter ^ exporter, System::ServiceModel::Description::WsdlContractConversionContext ^ context) = System::ServiceModel::Description::IWsdlExportExtension::ExportContract;
void IWsdlExportExtension.ExportContract (System.ServiceModel.Description.WsdlExporter exporter, System.ServiceModel.Description.WsdlContractConversionContext context);
abstract member System.ServiceModel.Description.IWsdlExportExtension.ExportContract : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlContractConversionContext -> unit
override this.System.ServiceModel.Description.IWsdlExportExtension.ExportContract : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlContractConversionContext -> unit
Sub ExportContract (exporter As WsdlExporter, context As WsdlContractConversionContext) Implements IWsdlExportExtension.ExportContract

Parameters

exporter
WsdlExporter

The WsdlExporter that exports the contract information.

context
WsdlContractConversionContext

A WsdlContractConversionContext object that provides mappings from exported WSDL elements to the contract description.

Implements

Remarks

The TextMessageEncodingBindingElement is responsible for setting information about the message version in the WSDL. But this is done by the IWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext) method, not by IWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext), which is implemented but empty.

Applies to