Share via


WebTestContext.CookieContainer Property

Gets or sets the cookies used by previous requests in the Web performance test.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Property CookieContainer As CookieContainer
public CookieContainer CookieContainer { get; set; }
public:
property CookieContainer^ CookieContainer {
    CookieContainer^ get ();
    void set (CookieContainer^ value);
}
member CookieContainer : CookieContainer with get, set
function get CookieContainer () : CookieContainer
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

See Also

Reference

WebTestContext Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace