MemoryCache.GetCurrentStatistics Método

Definição

Obtém um instantâneo das estatísticas atuais para o cache de memória.

public:
 virtual Microsoft::Extensions::Caching::Memory::MemoryCacheStatistics ^ GetCurrentStatistics();
public:
 Microsoft::Extensions::Caching::Memory::MemoryCacheStatistics ^ GetCurrentStatistics();
public Microsoft.Extensions.Caching.Memory.MemoryCacheStatistics? GetCurrentStatistics ();
abstract member GetCurrentStatistics : unit -> Microsoft.Extensions.Caching.Memory.MemoryCacheStatistics
override this.GetCurrentStatistics : unit -> Microsoft.Extensions.Caching.Memory.MemoryCacheStatistics
member this.GetCurrentStatistics : unit -> Microsoft.Extensions.Caching.Memory.MemoryCacheStatistics
Public Function GetCurrentStatistics () As MemoryCacheStatistics

Retornos

Retornará null se as estatísticas não estiverem sendo rastreadas porque TrackStatistics é false.

Implementações

Aplica-se a