HttpPutAttribute クラス

定義

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

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

コンストラクター

HttpPutAttribute()

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

メソッド

IsValidForRequest(ControllerContext, MethodInfo)

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

適用対象