Editar

Compartilhar via


WsdlExporter.ExportEndpoint(ServiceEndpoint) Method

Definition

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