Udostępnij za pośrednictwem


WSTrust13RequestSerializer.WriteXml Metoda

Definicja

Serializuje określony RequestSecurityToken obiekt do XmlWriter obiektu.

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

Obiekt RequestSecurityToken do serializacji.

writer
XmlWriter

XmlWriter Obiekt do zapisu.

context
WSTrustSerializationContext

Element WSTrustSerializationContext zawierający bieżący kontekst serializacji.

Wyjątki

request to null.

-lub-

writer to null.

-lub-

context to null.

Dotyczy