Sdílet prostřednictvím


WSTrustFeb2005RequestSerializer.WriteXml Metoda

Definice

Serializuje zadaný RequestSecurityToken objekt do objektu XmlWriter .

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

Parametry

request
RequestSecurityToken

Objekt RequestSecurityToken , který má být serializován.

writer
XmlWriter

Objekt XmlWriter , do který chcete zapisovat.

context
WSTrustSerializationContext

A WSTrustSerializationContext , který obsahuje aktuální kontext serializace.

Výjimky

request je null.

-nebo-

writer je null.

-nebo-

context je null.

Platí pro