Redigera

Dela via


EvaluationContext.RecordExpirationTime(DateTime) Method

Definition

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

public:
 abstract void RecordExpirationTime(DateTime expirationTime);
public abstract void RecordExpirationTime (DateTime expirationTime);
abstract member RecordExpirationTime : DateTime -> unit
Public MustOverride Sub RecordExpirationTime (expirationTime As DateTime)

Parameters

expirationTime
DateTime

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

Remarks

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.

Applies to