HttpBinding.Verb 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
接收或設定一個值,指示 HTTP 請求是使用 “GET” 還是 “POST” 方法來發送。
public:
property System::String ^ Verb { System::String ^ get(); void set(System::String ^ value); };
public string Verb { get; set; }
member this.Verb : string with get, set
Public Property Verb As String
屬性值
一個包含兩個可能值之一的字串,分別是「GET」或「POST」。 預設值是空字串 ("")。
備註
以下範例建立一個新物件 HttpBinding 並設定其 Verb 屬性。
WebServices_HttpBinding#2