Gets the version of the HTTP protocol that is used in the response.
Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property ProtocolVersion As Version
public Version ProtocolVersion { get; internal set; }
public:
property Version^ ProtocolVersion {
    Version^ get ();
    internal: void set (Version^ value);
}
member ProtocolVersion : Version with get, internal set
function get ProtocolVersion () : Version 
internal function set ProtocolVersion (value : Version)
Property Value
Type: Version
A Version that contains the HTTP protocol version of the response.
Exceptions
| Exception | Condition | 
|---|---|
| ObjectDisposedException | The current instance has been disposed. | 
Remarks
The ProtocolVersion property contains the HTTP protocol version number of the response sent by the internet resource.
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace