แก้ไข

แชร์ผ่าน


WSTrust13RequestSerializer.ReadSecondaryParameters Method

Definition

Special case for reading SecondaryParameters inside a WS-Trust 1.3 RST.

protected:
 virtual System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ ReadSecondaryParameters(System::Xml::XmlReader ^ reader, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
protected virtual System.IdentityModel.Protocols.WSTrust.RequestSecurityToken ReadSecondaryParameters (System.Xml.XmlReader reader, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member ReadSecondaryParameters : System.Xml.XmlReader * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.IdentityModel.Protocols.WSTrust.RequestSecurityToken
override this.ReadSecondaryParameters : System.Xml.XmlReader * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.IdentityModel.Protocols.WSTrust.RequestSecurityToken
Protected Overridable Function ReadSecondaryParameters (reader As XmlReader, context As WSTrustSerializationContext) As RequestSecurityToken

Parameters

reader
XmlReader

The XmlReader object pointing at the SecondaryParameters element inside the RST.

context
WSTrustSerializationContext

A WSTrustSerializationContext that contains the current serialization context.

Returns

A RequestSecurityToken that contains the SecondaryParameters found in the RST.

Exceptions

reader is null.

-or-

context is null.

An inner SecondaryParameter element was found while processing the outer SecondaryParameter element.

Remarks

The specification states that a SecondaryParameters element cannot be inside another SecondaryParameters element. Override this method to provide custom processing.

Applies to