WsdlExporter.ExportEndpoint(ServiceEndpoint) Method

Definition

Generates metadata about the specified endpoint.

C#
public override void ExportEndpoint(System.ServiceModel.Description.ServiceEndpoint endpoint);

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.

C#
exporter.PolicyVersion = PolicyVersion.Policy15;

Remarks

Use the ExportEndpoint method to create metadata about a single endpoint.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1