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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.