Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the cookies used by previous requests in the Web test.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property CookieContainer As CookieContainer
'Usage
Dim instance As WebTestContext
Dim value As CookieContainer
value = instance.CookieContainer
instance.CookieContainer = value
public CookieContainer CookieContainer { get; set; }
public:
property CookieContainer^ CookieContainer {
CookieContainer^ get ();
void set (CookieContainer^ value);
}
public function get CookieContainer () : CookieContainer
public function set CookieContainer (value : CookieContainer)
Property Value
Type: System.Net.CookieContainer
A CookieContainer object.
Remarks
This is the set of cookies that are being cached for this variation.
.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.