AuthorizationPolicyBuilder.Combine(AuthorizationPolicy) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將指定的 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要合併的 。
傳回
完成作業之後,這個執行個體的參考。