Метод WSTrustChannelFactory.CreateTrustChannel
Пространство имен: Microsoft.IdentityModel.Protocols.WSTrust
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
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)
Синтаксис
'Декларация
Protected Overridable Function CreateTrustChannel ( _
innerChannel As IWSTrustChannelContract, _
trustVersion As TrustVersion, _
context As WSTrustSerializationContext, _
requestSerializer As WSTrustRequestSerializer, _
responseSerializer As WSTrustResponseSerializer _
) As WSTrustChannel
protected virtual WSTrustChannel CreateTrustChannel (
IWSTrustChannelContract innerChannel,
TrustVersion trustVersion,
WSTrustSerializationContext context,
WSTrustRequestSerializer requestSerializer,
WSTrustResponseSerializer responseSerializer
)
protected:
virtual WSTrustChannel^ CreateTrustChannel (
IWSTrustChannelContract^ innerChannel,
TrustVersion^ trustVersion,
WSTrustSerializationContext^ context,
WSTrustRequestSerializer^ requestSerializer,
WSTrustResponseSerializer^ responseSerializer
)
protected WSTrustChannel CreateTrustChannel (
IWSTrustChannelContract innerChannel,
TrustVersion trustVersion,
WSTrustSerializationContext context,
WSTrustRequestSerializer requestSerializer,
WSTrustResponseSerializer responseSerializer
)
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
См. также
Справочник
Класс WSTrustChannelFactory
WSTrustChannelFactory Члены
Пространство имен Microsoft.IdentityModel.Protocols.WSTrust