WebTestRequest.Version Property
Gets or sets the HTTP version of the request.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property Version As String
'Usage
Dim instance As WebTestRequest
Dim value As String
value = instance.Version
instance.Version = value
public string Version { get; set; }
public:
property String^ Version {
String^ get ();
void set (String^ value);
}
public function get Version () : String
public function set Version (value : String)
Property Value
Type: System.String
The HTTP version of the request. The default value is "1.1".
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.