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
스레드 안전성
이 유형의 공용 정적(Visual Basic에서는 Shared) 멤버는 모두 스레드로부터 안전합니다.인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.
플랫폼
개발 플랫폼
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
참고 항목
참조
WSTrustChannelFactory 클래스
WSTrustChannelFactory 멤버
Microsoft.IdentityModel.Protocols.WSTrust 네임스페이스