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
- cookie_c
Type: System.Net.CookieContainer
A System.Net.CookieContainer object that contains the authentication cookies.
- uri
Type: System.Uri
See Also
Reference
Microsoft.Office.Server.Search.Federation Namespace
CookieAuthdata