WSTrust13RequestSerializer.WriteXml 方法

定义

将指定的 RequestSecurityToken 对象序列化为 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)

参数

request
RequestSecurityToken

待序列化的 RequestSecurityToken 对象。

writer
XmlWriter

要写入的 XmlWriter 对象。

context
WSTrustSerializationContext

一个 WSTrustSerializationContext,包含当前的序列化上下文。

例外

requestnull

writernull

contextnull

适用于