This documentation is archived and is not being maintained.

WsdlExporter.ExportEndpoints Method

Generates metadata about a group of endpoints from a specified service.

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

public void ExportEndpoints(
	IEnumerable<ServiceEndpoint> endpoints,
	XmlQualifiedName wsdlServiceQName
)

Parameters

endpoints
Type: System.Collections.Generic.IEnumerable<ServiceEndpoint>

The ServiceEndpoint objects about which to generate metadata.

wsdlServiceQName
Type: System.Xml.XmlQualifiedName

The name of the service.

ExceptionCondition
InvalidOperationException

The exporter encountered an error.

ArgumentNullException

endpoints is null.

ArgumentNullException

wsdlServiceQName is null.

ArgumentException

A binding is null.

Use the ExportEndpoints method to create metadata about a set of endpoints from a specified service.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: