WSTrustRequestSerializer.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.
When overridden in a derived class, writes a child element inside the RST.
public:
abstract void WriteXmlElement(System::Xml::XmlWriter ^ writer, System::String ^ elementName, System::Object ^ elementValue, System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ requestSecurityToken, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public abstract void WriteXmlElement (System.Xml.XmlWriter writer, string elementName, object elementValue, System.IdentityModel.Protocols.WSTrust.RequestSecurityToken requestSecurityToken, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member WriteXmlElement : System.Xml.XmlWriter * string * obj * System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public MustOverride Sub WriteXmlElement (writer As XmlWriter, elementName As String, elementValue As Object, requestSecurityToken As RequestSecurityToken, context As WSTrustSerializationContext)
Parameters
- elementName
- String
The local name of the element to be written.
- elementValue
- Object
The value of the element.
- requestSecurityToken
- RequestSecurityToken
The RequestSecurityToken object that is being serialized.
- context
- WSTrustSerializationContext
A WSTrustSerializationContext that contains the current serialization context.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.