Implements IWsdlExportExtensions.ExportEndpoint. The default implementation does the following: For every Trust contract found, 1. Includes the appropriate trust namespace in the WSDL. 2. Imports the appropriate Trust schema and all dependent schemas. 3. Fixes the Messages of each operation to it appropriate WS-Trust equivalent. Trust Contract exposed by the Framework takes a System.ServiceModel.Channels.Message in and returns a System.ServiceModel.Channels.Message out. But Trust messages expects and RST and returns an RSTR/RSTRC. This method fixes the message names with the appropriate WS-Trust messages.
Пространство имен: Microsoft.IdentityModel.Protocols.WSTrust
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Visual Basic |
---|
Dim instance As WSTrustServiceContract Dim exporter As WsdlExporter Dim context As WsdlEndpointConversionContext instance.ExportEndpoint(exporter, context) |
Синтаксис
Visual Basic |
---|
Public Overridable Sub ExportEndpoint ( _ exporter As WsdlExporter, _ context As WsdlEndpointConversionContext _ ) |
C# |
---|
public virtual void ExportEndpoint ( WsdlExporter exporter, WsdlEndpointConversionContext context ) |
C++ |
---|
public: virtual void ExportEndpoint ( WsdlExporter^ exporter, WsdlEndpointConversionContext^ context ) |
J# |
---|
public void ExportEndpoint ( WsdlExporter exporter, WsdlEndpointConversionContext context ) |
JScript |
---|
public function ExportEndpoint ( exporter : WsdlExporter, context : WsdlEndpointConversionContext ) |
Параметры
- exporter
-
The WsdlExporter that exports the contract information.
- context
-
Provides mappings from exported WSDL elements to the endpoint description.
Безопасность потоков
Любые открытые статические члены
(Shared в Visual Basic) этого типа являются
поточно-ориентированными.Любые члены экземпляров не являются
гарантированно поточно-ориентированными.