WSTrust13ResponseSerializer.WriteKnownResponseElement(RequestSecurityTokenResponse, XmlWriter, WSTrustSerializationContext) Método

Definição

Grava os elementos compatíveis no objeto RequestSecurityTokenResponse no fluxo de saída.Writes the supported elements on the RequestSecurityTokenResponse object to the outgoing stream.

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)

Parâmetros

rstr
RequestSecurityTokenResponse

O objeto RequestSecurityTokenResponse a ser serializado.The RequestSecurityTokenResponse object to serialize.

writer
XmlWriter

O objeto XmlWriter de gravação.The XmlWriter object to write to.

context
WSTrustSerializationContext

Um WSTrustSerializationContext que contém o contexto atual de serialização.A WSTrustSerializationContext that contains the current serialization context.

Exceções

rstr é null.rstr is null.

- ou --or- writer é null.writer is null.

- ou --or- context é null.context is null.

Aplica-se a