共用方式為


ReliableSessionBindingElement.IPolicyExportExtension.ExportPolicy 方法

定義

將可靠工作階段繫結項目中包含的資訊對應至 WSDL 項目,該項目可讓遠端端點使用可靠工作階段來存取服務。

 virtual void System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy(System::ServiceModel::Description::MetadataExporter ^ exporter, System::ServiceModel::Description::PolicyConversionContext ^ context) = System::ServiceModel::Description::IPolicyExportExtension::ExportPolicy;
void IPolicyExportExtension.ExportPolicy (System.ServiceModel.Description.MetadataExporter exporter, System.ServiceModel.Description.PolicyConversionContext context);
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, context As PolicyConversionContext) Implements IPolicyExportExtension.ExportPolicy

參數

exporter
MetadataExporter

MetadataExporter,它會將可靠工作階段繫結項目中的繫結資訊匯出至 WSDL 項目。

context
PolicyConversionContext

PolicyConversionContext,它會提供從匯出的 WSDL 項目對應到端點描述。

實作

適用於