다음을 통해 공유


WSFederationSerializer.GetResponseAsString 메서드

정의

지정한 RequestSecurityTokenResponse 개체를 문자열에 serialize합니다.

public:
 virtual System::String ^ GetResponseAsString(System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ response, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public virtual string GetResponseAsString (System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse response, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member GetResponseAsString : System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> string
override this.GetResponseAsString : System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> string
Public Overridable Function GetResponseAsString (response As RequestSecurityTokenResponse, context As WSTrustSerializationContext) As String

매개 변수

response
RequestSecurityTokenResponse

serialize할 RequestSecurityTokenResponse 개체입니다.

context
WSTrustSerializationContext

현재 serialization 컨텍스트입니다.

반환

RequestSecurityTokenResponse 개체의 문자열 serialize 문자열 표현입니다.

예외

responsenull입니다.

또는

context이(가) null인 경우

적용 대상