Partager via


HybridCacheOptions.MaximumKeyLength Property

Definition

Gets or sets the maximum permitted length (in characters) of keys.

public:
 property int MaximumKeyLength { int get(); void set(int value); };
public int MaximumKeyLength { get; set; }
member this.MaximumKeyLength : int with get, set
Public Property MaximumKeyLength As Integer

Property Value

The maximum permitted length of keys, in characters. The default value is 1024 characters.

Remarks

Attempts to use keys over this size are logged.

Applies to