Export (0) Print
Expand All
Expand Minimize

Saml2SecurityTokenHandler.ReadEncryptedId Method

.NET Framework 4.5

Reads the <saml:EncryptedId> element.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

abstract ReadEncryptedId : 
        reader:XmlReader -> Saml2NameIdentifier  
override ReadEncryptedId : 
        reader:XmlReader -> Saml2NameIdentifier

Parameters

reader
Type: System.Xml.XmlReader

An XmlReader pointing at the EncryptedId element.

Return Value

Type: System.IdentityModel.Tokens.Saml2NameIdentifier
A Saml2NameIdentifier that represents the EncryptedId element that was read.

ExceptionCondition
ArgumentNullException

reader is a null reference (Nothing in Visual Basic).

XmlException

reader is not positioned at an EncryptedID element.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft