Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Saml2Id Class

.NET Framework 4.6 and 4.5

Represents the identifier used for SAML assertions.


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

public class Saml2Id

The Saml2Id type exposes the following members.

Public methodSaml2Id()Initializes a new instance of the Saml2Id class with a system-generated value.
Public methodSaml2Id(String)Initializes a new instance of the Saml2Id class with the specified value.

Public propertyValueGets the identifier string.

Public methodEqualsDetermines whether this instance is equal to the specified object. (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns a hash code for this instance. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string representation of this instance. (Overrides Object.ToString().)

For more information about the element that this class represents, see the SAML V2.0 Core specification.

.NET Framework

Supported in: 4.6, 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft