HttpGetAttribute クラス

定義

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

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

コンストラクター

HttpGetAttribute()

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

メソッド

IsValidForRequest(ControllerContext, MethodInfo)

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

適用対象