CorsPolicyBuilder.Build Method

Definition

Builds a new CorsPolicy using the entries added.

public:
 Microsoft::AspNetCore::Cors::Infrastructure::CorsPolicy ^ Build();
public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy Build ();
member this.Build : unit -> Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy
Public Function Build () As CorsPolicy

Returns

The constructed CorsPolicy.

Applies to