CookieCredentials Constructor (CookieContainer, Uri)
Initializes a new instance of the CookieCredentials class that contains the specified authentication cookies and cookie-based logon error page URL.
Namespace: Microsoft.Office.Server.Search.Query
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub New ( _
cookie_c As CookieContainer, _
uri As Uri _
)
'Usage
Dim cookie_c As CookieContainer
Dim uri As Uri
Dim instance As New CookieCredentials(cookie_c, _
uri)
public CookieCredentials(
CookieContainer cookie_c,
Uri uri
)
Parameters
cookie_c
Type: System.Net.CookieContainerThe collection of the authentication cookie collections.
uri
Type: System.UriThe URI for the authentication cookies.