共用方式為


AuthorizationPolicyBuilder.Combine(AuthorizationPolicy) 方法

定義

將指定的 policy 合併到目前的 實例。

public:
 Microsoft::AspNetCore::Authorization::AuthorizationPolicyBuilder ^ Combine(Microsoft::AspNetCore::Authorization::AuthorizationPolicy ^ policy);
public Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder Combine (Microsoft.AspNetCore.Authorization.AuthorizationPolicy policy);
member this.Combine : Microsoft.AspNetCore.Authorization.AuthorizationPolicy -> Microsoft.AspNetCore.Authorization.AuthorizationPolicyBuilder
Public Function Combine (policy As AuthorizationPolicy) As AuthorizationPolicyBuilder

參數

policy
AuthorizationPolicy

AuthorizationPolicy要合併的 。

傳回

完成作業之後,這個執行個體的參考。

適用於