ContextBindingElement.ExportPolicy 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.
Writes custom policy assertions into the context of the binding element.
public:
virtual void ExportPolicy(System::ServiceModel::Description::MetadataExporter ^ exporter, System::ServiceModel::Description::PolicyConversionContext ^ context);
public virtual void ExportPolicy (System.ServiceModel.Description.MetadataExporter exporter, System.ServiceModel.Description.PolicyConversionContext context);
abstract member ExportPolicy : System.ServiceModel.Description.MetadataExporter * System.ServiceModel.Description.PolicyConversionContext -> unit
override this.ExportPolicy : System.ServiceModel.Description.MetadataExporter * System.ServiceModel.Description.PolicyConversionContext -> unit
Public Overridable Sub ExportPolicy (exporter As MetadataExporter, context As PolicyConversionContext)
Parameters
- exporter
- MetadataExporter
The MetadataExporter that exports the metadata information.
- context
- PolicyConversionContext
A WsdlContractConversionContext object that provides mappings from exported WSDL elements to the contract description.
Implements
Exceptions
context
is null
or the policy assertion in the binding is null
.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.