Condividi tramite


MemoryCache.GetCurrentStatistics Metodo

Definizione

Ottiene uno snapshot delle statistiche correnti per la cache di memoria.

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

Restituisce

Restituisce null se le statistiche non vengono rilevate perché TrackStatistics è false.

Implementazioni

Si applica a