共用方式為


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,包含目前序列化內容。

適用於