Dela via


AuthorizationPolicyBuilder.Combine(AuthorizationPolicy) Method

Definition

Combines the specified policy into the current instance.

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

Parameters

policy
AuthorizationPolicy

The AuthorizationPolicy to combine.

Returns

A reference to this instance after the operation has completed.

Applies to