Condividi tramite


Proprietà WebTestRequest.Cache

Ottiene o imposta un valore che indica se simulare la memorizzazione nella cache da parte del browser per la richiesta.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Sintassi

'Dichiarazione
Public Property Cache As Boolean
    Get
    Set
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)

Valore proprietà

Tipo: System.Boolean
true per simulare la memorizzazione nella cache; in caso contrario false.Il valore predefinito di questa opzione è false.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

WebTestRequest Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.WebTesting