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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro