IAuthorizationPolicyProvider.GetPolicyAsync(String) メソッド

定義

指定された から を AuthorizationPolicy 取得します。 policyName

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Authorization::AuthorizationPolicy ^> ^ GetPolicyAsync(System::String ^ policyName);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy> GetPolicyAsync (string policyName);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy?> GetPolicyAsync (string policyName);
abstract member GetPolicyAsync : string -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authorization.AuthorizationPolicy>
Public Function GetPolicyAsync (policyName As String) As Task(Of AuthorizationPolicy)

パラメーター

policyName
String

取得するポリシー名。

戻り値

という名前 AuthorizationPolicyの 。

適用対象