UnsupportedContentTypeFilter クラス

定義

サポートされていないメディアの種類 (415) 応答でパイプラインをスキャンUnsupportedContentTypeExceptionModelStateし、パイプラインをショートサーキットするフィルター。

public ref class UnsupportedContentTypeFilter : Microsoft::AspNetCore::Mvc::Filters::IActionFilter
public ref class UnsupportedContentTypeFilter : Microsoft::AspNetCore::Mvc::Filters::IActionFilter, Microsoft::AspNetCore::Mvc::Filters::IOrderedFilter
public class UnsupportedContentTypeFilter : Microsoft.AspNetCore.Mvc.Filters.IActionFilter
public class UnsupportedContentTypeFilter : Microsoft.AspNetCore.Mvc.Filters.IActionFilter, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter
type UnsupportedContentTypeFilter = class
    interface IActionFilter
    interface IFilterMetadata
type UnsupportedContentTypeFilter = class
    interface IActionFilter
    interface IFilterMetadata
    interface IOrderedFilter
Public Class UnsupportedContentTypeFilter
Implements IActionFilter
Public Class UnsupportedContentTypeFilter
Implements IActionFilter, IOrderedFilter
継承
UnsupportedContentTypeFilter
実装

コンストラクター

UnsupportedContentTypeFilter()

サポートされていないメディアの種類 (415) 応答でパイプラインをスキャンUnsupportedContentTypeExceptionModelStateし、パイプラインをショートサーキットするフィルター。

プロパティ

Order

フィルターの順序を取得または設定します。 Order.

の前ModelStateInvalidFilter-3000確実に実行されるように、既定値は に設定されます。

メソッド

OnActionExecuted(ActionExecutedContext)

アクションの実行後、アクションの結果の前に呼び出されます。

OnActionExecuting(ActionExecutingContext)

モデル バインドが完了した後、アクションが実行される前に呼び出されます。

適用対象