Partager via


FormsCredentials, constructeur (String, String, Générique , String, CookieCollection) (Microsoft.Office.Server.Search.Federation)

Initializes a new instance of the FormsCredentials class with the logon and error page URLs, and a dictionary object containing the logon page input, the request method, and the collection of authentication cookies for the forms authentication logon.

Espace de noms : Microsoft.Office.Server.Search.Federation
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    formsPage As String, _
    errorPage As String, _
    pairs As Dictionary(Of String, String), _
    method As String, _
    cookies As CookieCollection _
)
'Utilisation
Dim formsPage As String
Dim errorPage As String
Dim pairs As Dictionary(Of String, String)
Dim method As String
Dim cookies As CookieCollection

Dim instance As New FormsCredentials(formsPage, errorPage, pairs, method, cookies)
public FormsCredentials (
    string formsPage,
    string errorPage,
    Dictionary<string,string> pairs,
    string method,
    CookieCollection cookies
)

Paramètres

  • formsPage
    A string specifying the logon page URL.
  • errorPage
    A string specifying the error page URL.
  • pairs
    A collection of name/value pairs representing the logon page input.
  • method
    A string specifying the protocol method used for the request to the logon page.
  • cookies
    A System.Net.CookieCollection containing the forms authentication cookies.

Voir aussi

Référence

FormsCredentials, classe
Membres FormsCredentials
Microsoft.Office.Server.Search.Federation, espace de noms