Partager via


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

  • uri
    Type: System.Uri

    The URI for the authentication cookies.

See Also

Reference

CookieCredentials Class

CookieCredentials Members

CookieCredentials Overload

Microsoft.Office.Server.Search.Query Namespace