HttpOptionsAttribute クラス

定義

メソッドが HTTP OPTIONS 要求だけを処理するよう制限するために使用する属性を表します。

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class HttpOptionsAttribute : System.Web.Mvc.ActionMethodSelectorAttribute
type HttpOptionsAttribute = class
    inherit ActionMethodSelectorAttribute
Public NotInheritable Class HttpOptionsAttribute
Inherits ActionMethodSelectorAttribute
継承
属性

コンストラクター

HttpOptionsAttribute()

HttpOptionsAttribute クラスの新しいインスタンスを初期化します。

メソッド

IsValidForRequest(ControllerContext, MethodInfo)

アクション メソッド要求が指定されたコントローラー コンテキストで有効かどうかを決定します。

適用対象