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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.