MemoryCacheOptions.SizeLimit Property
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.
Gets or sets the maximum size of the cache.
public:
property Nullable<long> SizeLimit { Nullable<long> get(); void set(Nullable<long> value); };
public long? SizeLimit { get; set; }
member this.SizeLimit : Nullable<int64> with get, set
Public Property SizeLimit As Nullable(Of Long)
Property Value
Remarks
Caution
There might be transient states while the cache is full but blocks are being released on a background thread. In this state, unexpected behavior might occur if the cache is being overutilized.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.