WSTrustRequestSerializer.WriteKnownRequestElement 方法

定义

在派生类中重写时,将在 RequestSecurityToken 对象上受支持的元素写入到该流。

public:
 abstract void WriteKnownRequestElement(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ requestSecurityToken, System::Xml::XmlWriter ^ writer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public abstract void WriteKnownRequestElement (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken requestSecurityToken, System.Xml.XmlWriter writer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member WriteKnownRequestElement : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.Xml.XmlWriter * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public MustOverride Sub WriteKnownRequestElement (requestSecurityToken As RequestSecurityToken, writer As XmlWriter, context As WSTrustSerializationContext)

参数

requestSecurityToken
RequestSecurityToken

正序列化的 RequestSecurityToken 对象。

writer
XmlWriter

要写入的 XmlWriter 对象。

context
WSTrustSerializationContext

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

适用于