Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Usage
Dim instance As WebTestRequest
Dim value As Boolean
value = instance.Cache
instance.Cache = value
public bool Cache { get; set; }
public:
property bool Cache {
bool get ();
void set (bool value);
}
public function get Cache () : boolean
public function set Cache (value : boolean)
Property Value
Type: System.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.