WSTrustRequestSerializer.WriteXmlElement Method (XmlWriter, String, Object, RequestSecurityToken, WSTrustSerializationContext)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When overridden in a derived class, writes a child element inside the RST.

Namespace:   System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public abstract void WriteXmlElement(
	XmlWriter writer,
	string elementName,
	object elementValue,
	RequestSecurityToken requestSecurityToken,
	WSTrustSerializationContext context
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter object to which the RST is being serialized.

elementName
Type: System.String

The local name of the element to be written.

elementValue
Type: System.Object

The value of the element.

requestSecurityToken
Type: System.IdentityModel.Protocols.WSTrust.RequestSecurityToken

The RequestSecurityToken object that is being serialized.

context
Type: System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext

A WSTrustSerializationContext that contains the current serialization context.

.NET Framework
Available since 4.5
Return to top
Show: