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

Usage

Visual Basic
Dim innerChannel As IWSTrustChannelContract
Dim trustVersion As TrustVersion
Dim context As WSTrustSerializationContext
Dim requestSerializer As WSTrustRequestSerializer
Dim responseSerializer As WSTrustResponseSerializer
Dim returnValue As WSTrustChannel

returnValue = Me.CreateTrustChannel(innerChannel, trustVersion, context, requestSerializer, responseSerializer)

Syntax

Visual Basic
Protected Overridable Function CreateTrustChannel ( _
		innerChannel As IWSTrustChannelContract, _
		trustVersion As TrustVersion, _
		context As WSTrustSerializationContext, _
		requestSerializer As WSTrustRequestSerializer, _
		responseSerializer As WSTrustResponseSerializer _
) As WSTrustChannel
C#
protected virtual WSTrustChannel CreateTrustChannel (
		IWSTrustChannelContract innerChannel,
		TrustVersion trustVersion,
		WSTrustSerializationContext context,
		WSTrustRequestSerializer requestSerializer,
		WSTrustResponseSerializer responseSerializer
)
C++
protected:
virtual WSTrustChannel^ CreateTrustChannel (
		IWSTrustChannelContract^ innerChannel, 
		TrustVersion^ trustVersion, 
		WSTrustSerializationContext^ context, 
		WSTrustRequestSerializer^ requestSerializer, 
		WSTrustResponseSerializer^ responseSerializer
)
J#
protected WSTrustChannel CreateTrustChannel (
		IWSTrustChannelContract innerChannel, 
		TrustVersion trustVersion, 
		WSTrustSerializationContext context, 
		WSTrustRequestSerializer requestSerializer, 
		WSTrustResponseSerializer responseSerializer
)
JScript
protected function CreateTrustChannel (
		innerChannel : IWSTrustChannelContract, 
		trustVersion : TrustVersion, 
		context : WSTrustSerializationContext, 
		requestSerializer : WSTrustRequestSerializer, 
		responseSerializer : WSTrustResponseSerializer
) : WSTrustChannel

Parameters

innerChannel
trustVersion
context
requestSerializer
responseSerializer

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