MetadataExporter.ExportPolicy(ServiceEndpoint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.