다음을 통해 공유


WSTrustServiceContract.GetSecurityHeaderTokenResolver 메서드

Returns the SecurityTokenResolver that resolves the following security tokens contained in the current WCF message request's security header: protection token, endorsing, or signed endorsing supporting tokens.

네임스페이스: Microsoft.IdentityModel.Protocols.WSTrust
어셈블리: Microsoft.IdentityModel(microsoft.identitymodel.dll에 있음)

사용법

    Dim requestContext As RequestContext
Dim returnValue As SecurityTokenResolver

returnValue = Me.GetSecurityHeaderTokenResolver(requestContext)

구문

‘선언
Protected Overridable Function GetSecurityHeaderTokenResolver ( _
    requestContext As RequestContext _
) As SecurityTokenResolver
protected virtual SecurityTokenResolver GetSecurityHeaderTokenResolver (
    RequestContext requestContext
)
protected:
virtual SecurityTokenResolver^ GetSecurityHeaderTokenResolver (
    RequestContext^ requestContext
)
protected SecurityTokenResolver GetSecurityHeaderTokenResolver (
    RequestContext requestContext
)
protected function GetSecurityHeaderTokenResolver (
    requestContext : RequestContext
) : SecurityTokenResolver

매개 변수

  • requestContext
     

반환 값

Returns SecurityTokenResolver.

예외

예외 유형 조건
ArgumentNullException

requestContext is null.

설명

This SecurityTokenResolver is used to resolve any SecurityTokenIdentifiers when deserializing RST UseKey elements or RST RenewTarget elements.

스레드 안전성

이 유형의 공용 정적(Visual Basic에서는 Shared) 멤버는 모두 스레드로부터 안전합니다.인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

개발 플랫폼

Windows Server 2003, Windows Vista

Target Platforms

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

참고 항목

참조

WSTrustServiceContract 클래스
WSTrustServiceContract 멤버
Microsoft.IdentityModel.Protocols.WSTrust 네임스페이스