次の方法で共有


CertificateValidationCacheOptions.CacheEntryExpiration プロパティ

定義

MemoryCache のエントリに使用する有効期限を取得または設定します。 これは、証明書が有効である限り、証明書が使用されるたびに延長されるスライディング有効期限です (「X509Certificate2.NotAfter」を参照)。

public:
 property TimeSpan CacheEntryExpiration { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan CacheEntryExpiration { get; set; }
member this.CacheEntryExpiration : TimeSpan with get, set
Public Property CacheEntryExpiration As TimeSpan

プロパティ値

既定値は 2 分です。

適用対象