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

适用于