Share via


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
public string Version { get; set; }
public:
property String^ Version {
    String^ get ();
    void set (String^ value);
}
member Version : string with get, set
function get Version () : String 
function set Version (value : String)

Property Value

Type: String
The HTTP version of the request. The default value is "1.1".

.NET Framework Security

See Also

Reference

WebTestRequest Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace