Bewerken

Delen via


MetadataExporter.ExportPolicy(ServiceEndpoint) Method

Definition

Converts policy assertions into a PolicyConversionContext object.

protected public:
 System::ServiceModel::Description::PolicyConversionContext ^ ExportPolicy(System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
protected internal System.ServiceModel.Description.PolicyConversionContext ExportPolicy (System.ServiceModel.Description.ServiceEndpoint endpoint);
member this.ExportPolicy : System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.Description.PolicyConversionContext
Protected Friend Function ExportPolicy (endpoint As ServiceEndpoint) As PolicyConversionContext

Parameters

endpoint
ServiceEndpoint

The endpoint from which to extract policy assertions.

Returns

An object that contains policy assertion information for the endpoint. The policy assertions can then be embedded in a metadata document.

Applies to