Sprache

IOutputCachePolicyProvider.GetPolicyAsync(String) Methode

Definition

Ruft ein IOutputCachePolicy aus der gegebenen policyName.

public System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.OutputCaching.IOutputCachePolicy?> GetPolicyAsync(string policyName);
abstract member GetPolicyAsync : string -> System.Threading.Tasks.ValueTask<Microsoft.AspNetCore.OutputCaching.IOutputCachePolicy>
Public Function GetPolicyAsync (policyName As String) As ValueTask(Of IOutputCachePolicy)

Parameter

policyName
String

Der abzurufende Richtlinienname.

Gibt zurück

Der benannte .IOutputCachePolicy

Gilt für: