Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WSTrustChannelFactory::CreateTrustChannel Method (IWSTrustChannelContract^, TrustVersion^, WSTrustSerializationContext^, WSTrustRequestSerializer^, WSTrustResponseSerializer^)

.NET Framework (current version)
 

Creates a WSTrustChannel object using parameters that reflect the configuration of this factory.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected:
virtual WSTrustChannel^ CreateTrustChannel(
	IWSTrustChannelContract^ innerChannel,
	TrustVersion^ trustVersion,
	WSTrustSerializationContext^ context,
	WSTrustRequestSerializer^ requestSerializer,
	WSTrustResponseSerializer^ responseSerializer
)

Parameters

innerChannel
Type: System.ServiceModel.Security::IWSTrustChannelContract^

The channel created by the base class capable of sending and receiving messages.

trustVersion
Type: System.ServiceModel.Security::TrustVersion^

The version of WS-Trust that should be used.

context
Type: System.IdentityModel.Protocols.WSTrust::WSTrustSerializationContext^

The WSTrustSerializationContext object that should be used to serialize WS-Trust messages.

requestSerializer
Type: System.IdentityModel.Protocols.WSTrust::WSTrustRequestSerializer^

The WSTrustRequestSerializer object that should be used to serialize WS-Trust request messages.

responseSerializer
Type: System.IdentityModel.Protocols.WSTrust::WSTrustResponseSerializer^

The WSTrustResponseSerializer object that should be used to serialize WS-Trust response messages.

Return Value

Type: System.ServiceModel.Security::WSTrustChannel^

A WSTrustChannel that represents the new channel.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft