WSTrust13RequestSerializer.ReadSecondaryParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- context
- WSTrustSerializationContext
A WSTrustSerializationContext that contains the current serialization context.
Returns
A RequestSecurityToken that contains the SecondaryParameters found in the RST.
Exceptions
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.