WSTrust13ResponseSerializer.WriteKnownResponseElement Metod

Definition

Skriver elementen som stöds på RequestSecurityTokenResponse objektet till den utgående strömmen.

public:
 override void WriteKnownResponseElement(System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ rstr, System::Xml::XmlWriter ^ writer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public override void WriteKnownResponseElement(System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse rstr, System.Xml.XmlWriter writer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
override this.WriteKnownResponseElement : System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse * System.Xml.XmlWriter * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public Overrides Sub WriteKnownResponseElement (rstr As RequestSecurityTokenResponse, writer As XmlWriter, context As WSTrustSerializationContext)

Parametrar

rstr
RequestSecurityTokenResponse

Objektet RequestSecurityTokenResponse som ska serialiseras.

writer
XmlWriter

Objektet XmlWriter som ska skrivas till.

context
WSTrustSerializationContext

En WSTrustSerializationContext som innehåller den aktuella serialiseringskontexten.

Undantag

rstr är null.

-eller-

writer är null.

-eller-

context är null.

Gäller för