Partager via


Méthode CookieHandler.ReadCore

When overridden in a derived class, reads a cookie.

Espace de noms: Microsoft.IdentityModel.Web
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    Dim name As String
Dim context As HttpContext
Dim returnValue As Byte()

returnValue = Me.ReadCore(name, context)

Syntaxe

'Déclaration
Protected MustOverride Function ReadCore ( _
    name As String, _
    context As HttpContext _
) As Byte()
protected abstract byte[] ReadCore (
    string name,
    HttpContext context
)
protected:
virtual array<unsigned char>^ ReadCore (
    String^ name, 
    HttpContext^ context
) abstract
protected abstract byte[] ReadCore (
    String name, 
    HttpContext context
)
protected abstract function ReadCore (
    name : String, 
    context : HttpContext
) : byte[]

Paramètres

  • name
    Name for the cookie

Valeur de retour

The cookie value, or null if the cookie was not found

Remarques

Called from the Read method to do the actual work of reading the cookie. The Read method will ensure that name is a non-empty string.

Cohérence de thread

Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Voir aussi

Référence

Classe CookieHandler
Membres CookieHandler
Espace de noms Microsoft.IdentityModel.Web