Special case for reading SecondaryParameters inside a WS-Trust 1.3 RST. The specification states that a SecondaryParameters element cannot be inside a SecondaryParameters element. Override this method to provide custom processing.
Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim reader As XmlReader
Dim context As WSTrustSerializationContext
Dim returnValue As RequestSecurityToken

returnValue = Me.ReadSecondaryParameters(reader, context)

Syntax

Visual Basic
Protected Overridable Function ReadSecondaryParameters ( _
		reader As XmlReader, _
		context As WSTrustSerializationContext _
) As RequestSecurityToken
C#
protected virtual RequestSecurityToken ReadSecondaryParameters (
		XmlReader reader,
		WSTrustSerializationContext context
)
C++
protected:
virtual RequestSecurityToken^ ReadSecondaryParameters (
		XmlReader^ reader, 
		WSTrustSerializationContext^ context
)
J#
protected RequestSecurityToken ReadSecondaryParameters (
		XmlReader reader, 
		WSTrustSerializationContext context
)
JScript
protected function ReadSecondaryParameters (
		reader : XmlReader, 
		context : WSTrustSerializationContext
) : RequestSecurityToken

Parameters

reader

Reader pointing at the SecondaryParameters element inside the RST.

context

The current serialization context.

Return Value

Returns RequestSecurityToken. This contains the SecondaryParameters found in the RST.

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