WSTrust13RequestSerializer.WriteXmlElement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes the specified RST parameter to the outgoing stream. Override of the base class method.
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)
Parameters
- elementName
- String
The local name of the element to be written.
- elementValue
- Object
The value of the element.
The RequestSecurityToken object that is being serialized.
- context
- WSTrustSerializationContext
A WSTrustSerializationContext that contains the current serialization context.
Exceptions
elementName
is null
or an empty string.
writer
, rst
, or context
is null
.