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.
Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

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

instance.ExportEndpoint(exporter, context)

Syntax

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
)

Parameters

exporter

The WsdlExporter that exports the contract information.

context

Provides mappings from exported WSDL elements to the endpoint description.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also