Partager via


HybridCacheOptions.MaximumPayloadBytes Property

Definition

Gets or sets the maximum size of cache items.

public:
 property long MaximumPayloadBytes { long get(); void set(long value); };
public long MaximumPayloadBytes { get; set; }
member this.MaximumPayloadBytes : int64 with get, set
Public Property MaximumPayloadBytes As Long

Property Value

The maximum size of cache items. The default value is 1 MiB.

Remarks

Attempts to store values over this size are logged, and the value isn't stored in the cache.

Applies to