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 类已子类化并添加了更多属性,请重写此方法。

适用于