CacheBehaviorAttribute(CacheBehavior) Constructor
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.
Initializes a new instance of the CacheBehaviorAttribute class.
public CacheBehaviorAttribute(Microsoft.AspNetCore.Components.CacheBehavior behavior);
new Microsoft.AspNetCore.Components.CacheBehaviorAttribute : Microsoft.AspNetCore.Components.CacheBehavior -> Microsoft.AspNetCore.Components.CacheBehaviorAttribute
Public Sub New (behavior As CacheBehavior)
Parameters
- behavior
- CacheBehavior
The behavior to apply when the component cannot be baked into cached output.