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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.