WebTestResponse.Cookies Property
Gets the cookies associated with the response.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property Cookies As CookieCollection
public CookieCollection Cookies { get; }
public:
property CookieCollection^ Cookies {
CookieCollection^ get ();
}
member Cookies : CookieCollection with get
function get Cookies () : CookieCollection
Property Value
Type: CookieCollection
A CookieCollection collection.
Remarks
Cookies set by the Web server are maintained by the test engine to be used throughout the entire Web performance test.
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace