EvaluationContext.RecordExpirationTime(DateTime) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om