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要组合的 。

返回

完成操作后对此实例的引用。

适用于