HttpPatchAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示用於限制動作方法只處理 HTTP PATCH 要求的屬性。
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class HttpPatchAttribute : System.Web.Mvc.ActionMethodSelectorAttribute
type HttpPatchAttribute = class
inherit ActionMethodSelectorAttribute
Public NotInheritable Class HttpPatchAttribute
Inherits ActionMethodSelectorAttribute
- 繼承
- 屬性
建構函式
HttpPatchAttribute() |
初始化 HttpPatchAttribute 類別的新執行個體。 |
方法
IsValidForRequest(ControllerContext, MethodInfo) |
判斷動作方法要求對於指定的控制器內容是否有效。 |