HttpHandlerAction.Verb 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定受詞允許的 HttpHandlerAction 動詞。
public:
property System::String ^ Verb { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("verb", IsKey=true, IsRequired=true)]
public string Verb { get; set; }
[<System.Configuration.ConfigurationProperty("verb", IsKey=true, IsRequired=true)>]
member this.Verb : string with get, set
Public Property Verb As String
屬性值
受詞允許的動詞。
- 屬性
範例
以下程式碼範例說明如何存取該 Verb 物業。
// Change the Verb for the HttpHandlerAction.
httpHandler.Verb = "POST";
' Change the Verb for the HttpHandlerAction.
httpHandler.Verb = "POST"
備註
此 Verb 屬性可為逗號分隔的 HTTP 動詞列表(例如「GET, PUT, POST」)。