WebTestRequest.Cache Property
Gets or sets a value that indicates whether to simulate browser caching for the request.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property Cache As Boolean
public bool Cache { get; set; }
public:
property bool Cache {
bool get ();
void set (bool value);
}
member Cache : bool with get, set
function get Cache () : boolean
function set Cache (value : boolean)
Property Value
Type: Boolean
true to simulate browser caching; otherwise, false. This has a default value of false.
.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.