Sdílet prostřednictvím


WSFederationSerializer.GetResponseAsString Metoda

Definice

Serializuje zadaný RequestSecurityTokenResponse objekt do řetězce.

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

Parametry

context
WSTrustSerializationContext

Aktuální kontext serializace.

Návraty

Serializovaná řetězcová reprezentace objektu RequestSecurityTokenResponse .

Výjimky

response je null.

-nebo-

context je null.

Platí pro