Пространство имен: Microsoft.IdentityModel.Protocols.WSTrust
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

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)

Синтаксис

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

Параметры

innerChannel
trustVersion
context
requestSerializer
responseSerializer

Безопасность потоков

Любые открытые статические члены (Shared в Visual Basic) этого типа являются поточно-ориентированными.Любые члены экземпляров не являются гарантированно поточно-ориентированными.

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

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

См. также