Saml2Conditions.NotOnOrAfter Property

.NET Framework 4.6 and 4.5

Gets or sets the time instant at which the assertion has expired. [Saml2Core, 2.5.1]

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

public Nullable<DateTime> NotOnOrAfter { get; set; }

Property Value

Type: System.Nullable<DateTime>

A nullable DateTime that contains the time instant in UTC. A null value indicates that the attribute is not present.

Exception Condition

The NotBefore property is not null and an attempt to set a value that occurs before the time instant specified by the NotBefore property occurs.

The NotOnOrAfter attribute.

.NET Framework
Available since 4.5
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft