WSTrustRequestSerializer.WriteKnownRequestElement Method (RequestSecurityToken, XmlWriter, WSTrustSerializationContext)

.NET Framework (current version)
 

When overridden in a derived class, writes the supported elements on the RequestSecurityToken object to the stream.

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

public abstract void WriteKnownRequestElement(
	RequestSecurityToken requestSecurityToken,
	XmlWriter writer,
	WSTrustSerializationContext context
)

Parameters

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

The RequestSecurityToken object being serialized.

writer
Type: System.Xml.XmlWriter

The XmlWriter object to write to.

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: