Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As WSTrust13RequestSerializer
Dim writer As XmlWriter
Dim elementName As String
Dim elementValue As Object
Dim rst As RequestSecurityToken
Dim context As WSTrustSerializationContext

instance.WriteXmlElement(writer, elementName, elementValue, rst, context)

Syntax

Visual Basic
Public Overrides Sub WriteXmlElement ( _
		writer As XmlWriter, _
		elementName As String, _
		elementValue As Object, _
		rst As RequestSecurityToken, _
		context As WSTrustSerializationContext _
)
C#
public override void WriteXmlElement (
		XmlWriter writer,
		string elementName,
		Object elementValue,
		RequestSecurityToken rst,
		WSTrustSerializationContext context
)
C++
public:
virtual void WriteXmlElement (
		XmlWriter^ writer, 
		String^ elementName, 
		Object^ elementValue, 
		RequestSecurityToken^ rst, 
		WSTrustSerializationContext^ context
) override
J#
public void WriteXmlElement (
		XmlWriter writer, 
		String elementName, 
		Object elementValue, 
		RequestSecurityToken rst, 
		WSTrustSerializationContext context
)
JScript
public override function WriteXmlElement (
		writer : XmlWriter, 
		elementName : String, 
		elementValue : Object, 
		rst : RequestSecurityToken, 
		context : WSTrustSerializationContext
)

Parameters

writer
elementName
elementValue
rst
context

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also