WSTrust13RequestSerializer.ReadSecondaryParameters 方法

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.

命名空间: Microsoft.IdentityModel.Protocols.WSTrust
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

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

returnValue = Me.ReadSecondaryParameters(reader, context)

语法

声明
Protected Overridable Function ReadSecondaryParameters ( _
    reader As XmlReader, _
    context As WSTrustSerializationContext _
) As RequestSecurityToken
protected virtual RequestSecurityToken ReadSecondaryParameters (
    XmlReader reader,
    WSTrustSerializationContext context
)
protected:
virtual RequestSecurityToken^ ReadSecondaryParameters (
    XmlReader^ reader, 
    WSTrustSerializationContext^ context
)
protected RequestSecurityToken ReadSecondaryParameters (
    XmlReader reader, 
    WSTrustSerializationContext context
)
protected function ReadSecondaryParameters (
    reader : XmlReader, 
    context : WSTrustSerializationContext
) : RequestSecurityToken

参数

  • reader
    Reader pointing at the SecondaryParameters element inside the RST.
  • context
    The current serialization context.

返回值

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

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

WSTrust13RequestSerializer 类
WSTrust13RequestSerializer 成员
Microsoft.IdentityModel.Protocols.WSTrust 命名空间