WriteKnownResponseElement Method
Collapse the table of content
Expand the table of content

WSTrust13ResponseSerializer.WriteKnownResponseElement Method (RequestSecurityTokenResponse, XmlWriter, WSTrustSerializationContext)

.NET Framework (current version)
 

Writes the supported elements on the RequestSecurityTokenResponse object to the outgoing stream.

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

public override void WriteKnownResponseElement(
	RequestSecurityTokenResponse rstr,
	XmlWriter writer,
	WSTrustSerializationContext context
)

Parameters

rstr
Type: System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse

The RequestSecurityTokenResponse object to serialize.

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.

Exception Condition
ArgumentNullException

rstr is null.

-or-

writer is null.

-or-

context is null.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft