Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim factory As WSTrustChannelFactory
Dim inner As IWSTrustChannelContract
Dim trustVersion As TrustVersion
Dim context As WSTrustSerializationContext
Dim requestSerializer As WSTrustRequestSerializer
Dim responseSerializer As WSTrustResponseSerializer

Dim instance As New WSTrustChannel(factory, inner, trustVersion, context, requestSerializer, responseSerializer)

Syntax

Visual Basic
Public Sub New ( _
		factory As WSTrustChannelFactory, _
		inner As IWSTrustChannelContract, _
		trustVersion As TrustVersion, _
		context As WSTrustSerializationContext, _
		requestSerializer As WSTrustRequestSerializer, _
		responseSerializer As WSTrustResponseSerializer _
)
C#
public WSTrustChannel (
		WSTrustChannelFactory factory,
		IWSTrustChannelContract inner,
		TrustVersion trustVersion,
		WSTrustSerializationContext context,
		WSTrustRequestSerializer requestSerializer,
		WSTrustResponseSerializer responseSerializer
)
C++
public:
WSTrustChannel (
		WSTrustChannelFactory^ factory, 
		IWSTrustChannelContract^ inner, 
		TrustVersion^ trustVersion, 
		WSTrustSerializationContext^ context, 
		WSTrustRequestSerializer^ requestSerializer, 
		WSTrustResponseSerializer^ responseSerializer
)
J#
public WSTrustChannel (
		WSTrustChannelFactory factory, 
		IWSTrustChannelContract inner, 
		TrustVersion trustVersion, 
		WSTrustSerializationContext context, 
		WSTrustRequestSerializer requestSerializer, 
		WSTrustResponseSerializer responseSerializer
)
JScript
public function WSTrustChannel (
		factory : WSTrustChannelFactory, 
		inner : IWSTrustChannelContract, 
		trustVersion : TrustVersion, 
		context : WSTrustSerializationContext, 
		requestSerializer : WSTrustRequestSerializer, 
		responseSerializer : WSTrustResponseSerializer
)

Parameters

factory
inner
trustVersion
context
requestSerializer
responseSerializer

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also