WsdlExporter.ExportEndpoint(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.
Generates metadata about the specified endpoint.
public:
override void ExportEndpoint(System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
public override void ExportEndpoint (System.ServiceModel.Description.ServiceEndpoint endpoint);
override this.ExportEndpoint : System.ServiceModel.Description.ServiceEndpoint -> unit
Public Overrides Sub ExportEndpoint (endpoint As ServiceEndpoint)
Parameters
- endpoint
- ServiceEndpoint
The ServiceEndpoint about which to return metadata.
Exceptions
The exporter encountered an error.
endpoint
is null
.
The binding is null
.
Examples
The following code example shows how to export a single endpoint.
exporter.PolicyVersion = PolicyVersion.Policy15;
exporter.PolicyVersion = PolicyVersion.Policy15
Remarks
Use the ExportEndpoint method to create metadata about a single endpoint.
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.