This documentation is archived and is not being maintained.
SamlSecurityToken::Initialize Method
Visual Studio 2010
Initializes the properties of the SamlSecurityToken class using the specified SAML assertion.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
Parameters
- assertion
- Type: System.IdentityModel.Tokens::SamlAssertion
A SamlAssertion that represents the SAML assertion for this security token.
| Exception | Condition |
|---|---|
| ArgumentNullException | assertion is nullptr. |
The SamlSecurityToken(SamlAssertion) constructor calls the Initialize(SamlAssertion) method, which can be overridden in derived classes.
For SamlSecurityToken security tokens, the claims are specified using a SAML assertion.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: