Partager via


Méthode WSTrustServiceContract.ExportEndpoint

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.

Espace de noms: Microsoft.IdentityModel.Protocols.WSTrust
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    Dim instance As WSTrustServiceContract
Dim exporter As WsdlExporter
Dim context As WsdlEndpointConversionContext

instance.ExportEndpoint(exporter, context)

Syntaxe

'Déclaration
Public Overridable Sub ExportEndpoint ( _
    exporter As WsdlExporter, _
    context As WsdlEndpointConversionContext _
)
public virtual void ExportEndpoint (
    WsdlExporter exporter,
    WsdlEndpointConversionContext context
)
public:
virtual void ExportEndpoint (
    WsdlExporter^ exporter, 
    WsdlEndpointConversionContext^ context
)
public void ExportEndpoint (
    WsdlExporter exporter, 
    WsdlEndpointConversionContext context
)
public function ExportEndpoint (
    exporter : WsdlExporter, 
    context : WsdlEndpointConversionContext
)

Paramètres

  • exporter
    The WsdlExporter that exports the contract information.
  • context
    Provides mappings from exported WSDL elements to the endpoint description.

Cohérence de thread

Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Voir aussi

Référence

Classe WSTrustServiceContract
Membres WSTrustServiceContract
Espace de noms Microsoft.IdentityModel.Protocols.WSTrust