EvaluationContext.RecordExpirationTime Method (DateTime)

 

Sets the date and time at which this EvaluationContext is no longer valid.

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

public abstract void RecordExpirationTime(
	DateTime expirationTime
)

Parameters

expirationTime
Type: System.DateTime

A DateTime value that indicates the date and time when this AuthorizationContext object is no longer valid.

Calling the RecordExpirationTime method multiple times only has an effect if the expirationTime parameter has a value that is earlier than the previously specified value.

.NET Framework
Available since 3.0
Return to top
Show: