次の方法で共有


CorsService.ApplyResult(CorsResult, HttpResponse) メソッド

定義

CORS 固有の応答ヘッダーを指定された responseに追加します。

public:
 virtual void ApplyResult(Microsoft::AspNetCore::Cors::Infrastructure::CorsResult ^ result, Microsoft::AspNetCore::Http::HttpResponse ^ response);
public virtual void ApplyResult (Microsoft.AspNetCore.Cors.Infrastructure.CorsResult result, Microsoft.AspNetCore.Http.HttpResponse response);
abstract member ApplyResult : Microsoft.AspNetCore.Cors.Infrastructure.CorsResult * Microsoft.AspNetCore.Http.HttpResponse -> unit
override this.ApplyResult : Microsoft.AspNetCore.Cors.Infrastructure.CorsResult * Microsoft.AspNetCore.Http.HttpResponse -> unit
Public Overridable Sub ApplyResult (result As CorsResult, response As HttpResponse)

パラメーター

result
CorsResult

CorsResult許可された値の読み取りに使用される 。

response
HttpResponse

現在の HttpResponse 呼び出しに関連付けられている 。

実装

適用対象