WsdlExporter.ExportEndpoint Method (ServiceEndpoint)

 

Generates metadata about the specified endpoint.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Public Overrides Sub ExportEndpoint (
	endpoint As ServiceEndpoint
)

Parameters

endpoint
Type: System.ServiceModel.Description.ServiceEndpoint

The ServiceEndpoint about which to return metadata.

Exception Condition
InvalidOperationException

The exporter encountered an error.

ArgumentNullException

endpoint is null.

ArgumentException

The binding is null.

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

The following code example shows how to export a single endpoint.

exporter.PolicyVersion = PolicyVersion.Policy15

.NET Framework
Available since 3.0
Return to top
Show: