WSFederationSerializer.CreateResponse 메서드
Converts a SignInResponseMessage to a RequestSecurityTokenResponse object.
네임스페이스: Microsoft.IdentityModel.Protocols.WSFederation
어셈블리: Microsoft.IdentityModel(microsoft.identitymodel.dll에 있음)
사용법
Dim instance As WSFederationSerializer Dim message As WSFederationMessage Dim context As WSTrustSerializationContext Dim returnValue As RequestSecurityTokenResponse returnValue = instance.CreateResponse(message, context)
구문
‘선언
Public Overridable Function CreateResponse ( _
message As WSFederationMessage, _
context As WSTrustSerializationContext _
) As RequestSecurityTokenResponse
public virtual RequestSecurityTokenResponse CreateResponse (
WSFederationMessage message,
WSTrustSerializationContext context
)
public:
virtual RequestSecurityTokenResponse^ CreateResponse (
WSFederationMessage^ message,
WSTrustSerializationContext^ context
)
public RequestSecurityTokenResponse CreateResponse (
WSFederationMessage message,
WSTrustSerializationContext context
)
public function CreateResponse (
message : WSFederationMessage,
context : WSTrustSerializationContext
) : RequestSecurityTokenResponse
매개 변수
- message
The SignInResponseMessage to convert.
- context
The current Serialization context.
반환 값
Returns RequestSecurityTokenResponse.
예외
예외 유형 | 조건 |
---|---|
ArgumentNullException | One of the parameters is null. |
ArgumentException | The message is not of type SignInResponseMessage or the SignInResponseMessage is missing required information to construct a valid RequestSecurityTokenResponse. |
스레드 안전성
이 유형의 공용 정적(Visual Basic에서는 Shared) 멤버는 모두 스레드로부터 안전합니다.인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.
플랫폼
개발 플랫폼
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
참고 항목
참조
WSFederationSerializer 클래스
WSFederationSerializer 멤버
Microsoft.IdentityModel.Protocols.WSFederation 네임스페이스