Bagikan melalui


BinaryMessageEncodingBindingElement.IPolicyExportExtension.ExportPolicy Metode

Definisi

Menulis elemen pengodean pesan biner kustom ke dalam metadata yang dihasilkan untuk titik akhir.

 virtual void System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy(System::ServiceModel::Description::MetadataExporter ^ exporter, System::ServiceModel::Description::PolicyConversionContext ^ policyContext) = System::ServiceModel::Description::IPolicyExportExtension::ExportPolicy;
void IPolicyExportExtension.ExportPolicy (System.ServiceModel.Description.MetadataExporter exporter, System.ServiceModel.Description.PolicyConversionContext policyContext);
abstract member System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy : System.ServiceModel.Description.MetadataExporter * System.ServiceModel.Description.PolicyConversionContext -> unit
override this.System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy : System.ServiceModel.Description.MetadataExporter * System.ServiceModel.Description.PolicyConversionContext -> unit
Sub ExportPolicy (exporter As MetadataExporter, policyContext As PolicyConversionContext) Implements IPolicyExportExtension.ExportPolicy

Parameter

exporter
MetadataExporter

MetadataExporter yang mengekspor informasi metadata.

policyContext
PolicyConversionContext

Objek WsdlContractConversionContext yang menyediakan pemetaan dari elemen WSDL yang diekspor ke deskripsi kontrak.

Penerapan

Berlaku untuk