WSTrustFeb2005RequestSerializer.WriteXmlElement 方法

定义

将指定的 RST 参数写入输出流。 基类方法的重写。

public:
 override void WriteXmlElement(System::Xml::XmlWriter ^ writer, System::String ^ elementName, System::Object ^ elementValue, System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ rst, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public override void WriteXmlElement (System.Xml.XmlWriter writer, string elementName, object elementValue, System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
override this.WriteXmlElement : System.Xml.XmlWriter * string * obj * System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public Overrides Sub WriteXmlElement (writer As XmlWriter, elementName As String, elementValue As Object, rst As RequestSecurityToken, context As WSTrustSerializationContext)

参数

writer
XmlWriter

RST 应被序列化的 XmlWriter 对象.

elementName
String

要编写的元素的本地名称。

elementValue
Object

元素的值。

rst
RequestSecurityToken

将要反序列化的 RequestSecurityToken 对象。

context
WSTrustSerializationContext

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

例外

elementNamenull 或空字符串。

writerrstcontextnull

适用于