WSTrust13RequestSerializer.ReadXml 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.
Deserializes the RST from an XmlReader object to a RequestSecurityToken object.
public:
override System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ ReadXml(System::Xml::XmlReader ^ reader, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public override System.IdentityModel.Protocols.WSTrust.RequestSecurityToken ReadXml (System.Xml.XmlReader reader, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
override this.ReadXml : System.Xml.XmlReader * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.IdentityModel.Protocols.WSTrust.RequestSecurityToken
Public Overrides Function ReadXml (reader As XmlReader, context As WSTrustSerializationContext) As RequestSecurityToken
Parameters
- reader
- XmlReader
An XML reader over the RST.
- context
- WSTrustSerializationContext
A WSTrustSerializationContext that contains the current serialization context.
Returns
A RequestSecurityToken object if the deserialization was successful.
Exceptions
There was an error parsing the RST.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.