IOutputCachePolicy.CacheRequestAsync Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Önbellek ara yazılımı çağrılmadan önce OutputCacheContext güncelleştirir. Bu noktada önbellek ara yazılımı istek için hala etkinleştirilebilir veya devre dışı bırakılabilir.
public System.Threading.Tasks.ValueTask CacheRequestAsync (Microsoft.AspNetCore.OutputCaching.OutputCacheContext context, System.Threading.CancellationToken cancellation);
abstract member CacheRequestAsync : Microsoft.AspNetCore.OutputCaching.OutputCacheContext * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Public Function CacheRequestAsync (context As OutputCacheContext, cancellation As CancellationToken) As ValueTask
Parametreler
- context
- OutputCacheContext
Geçerli isteğin önbellek bağlamı.
- cancellation
- CancellationToken
İptal isteklerini izlemek için belirteç.