共用方式為


CorsPolicyBuilder.Build 方法

定義

使用新增的專案建置新的 CorsPolicy

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

傳回

建構的 CorsPolicy

適用於