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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.