Mono Class Library: System.Net.WebRequest Overview | MembersSystem.Net.WebRequest.Method Property |
Gets or sets the protocol method to use in the current instance. [Edit]
|
A string containing the protocol method to use in the current instance. [Edit]
Type Reason NotSupportedException This property is not implemented in the derived class. [Edit]
Operation
The default value of this property is required to be a protocol method that does not require protocol-specific properties to be set. For the HTTP protocol, this value is GET.This property throws NotSupportedException.
Note to Inheritors
This property must be overridden by classes that inherit from System.Net.WebRequest to provide this functionality.Usage
Use this property to set the protocol-specific method that will be used to make a request. [Edit]
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0