WSTrustServiceContract.ExportEndpoint 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.
Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.
public:
virtual void ExportEndpoint(System::ServiceModel::Description::WsdlExporter ^ exporter, System::ServiceModel::Description::WsdlEndpointConversionContext ^ context);
public virtual void ExportEndpoint (System.ServiceModel.Description.WsdlExporter exporter, System.ServiceModel.Description.WsdlEndpointConversionContext context);
abstract member ExportEndpoint : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlEndpointConversionContext -> unit
override this.ExportEndpoint : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlEndpointConversionContext -> unit
Public Overridable Sub ExportEndpoint (exporter As WsdlExporter, context As WsdlEndpointConversionContext)
Parameters
- exporter
- WsdlExporter
The WsdlExporter that exports the contract information.
- context
- WsdlEndpointConversionContext
Provides mappings from exported WSDL elements to the endpoint description.
Implements
Remarks
Implements the ExportEndpoint method.
The default implementation does the following for every WS-Trust contract found:
Includes the appropriate WS-Trust namespace in the WSDL.
Imports the appropriate WS-Trust schema and all dependent schemas.
Fixes the Messages of each operation to appropriate WS-Trust equivalents. The WS-Trust Contract exposed by Windows Identity Foundation (WIF) takes a Message in and returns a Message out. But WS-Trust messages expect an RST and return an RSTR/RSTRC. This method fixes the message names with the appropriate WS-Trust messages.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應