Gets or sets the request method.
[Visual Basic] Overridable Public Property Method As String [C#] public string Method {override get; override set;} [C++] public: __property virtual String* get_Method(); public: __property virtual void set_Method(String*); [JScript] public function get Method() : String; public function set Method(String);
Exception Type | Condition |
---|---|
ArgumentException | No method is supplied. |
HttpWebRequest Class | HttpWebRequest Members | System.Net Namespace