OutputCacheAttribute.Duration Property

Definition

Gets or sets the cache duration, in seconds.

public int Duration { get; set; }
member this.Duration : int with get, set
Public Property Duration As Integer

Property Value

The cache duration.

Applies to