共用方式為


WSTrustFeb2005RequestSerializer.WriteKnownRequestElement 方法

定義

RequestSecurityToken 物件上的受支援項目寫入至資料流。

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

參數

rst
RequestSecurityToken

正在序列化的 RequestSecurityToken 物件。

writer
XmlWriter

要寫入至其中的 XmlWriter 物件。

context
WSTrustSerializationContext

WSTrustSerializationContext,包含目前序列化內容。

例外狀況

rstnull

-或-

writernull

-或-

contextnull

備註

如果 RequestSecurityToken 類別已子類別化,且已新增更多屬性,請覆寫這個方法。

適用於