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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk