Share 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.Federation
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

See Also

Reference

CookieCredentials Class

CookieCredentials Members

CookieCredentials Overload

Microsoft.Office.Server.Search.Federation Namespace

CookieAuthdata

FormsCredentials

Other Resources

Federated Search Overview

Custom Federated Search Web Part Sample