When overridden in a derived class, reads a cookie.
Namespace: Microsoft.IdentityModel.Web
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

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

returnValue = Me.ReadCore(name, context)

Syntax

Visual Basic
Protected MustOverride Function ReadCore ( _
		name As String, _
		context As HttpContext _
) As Byte()
C#
protected abstract byte[] ReadCore (
		string name,
		HttpContext context
)
C++
protected:
virtual array<unsigned char>^ ReadCore (
		String^ name, 
		HttpContext^ context
) abstract
J#
protected abstract byte[] ReadCore (
		String name, 
		HttpContext context
)
JScript
protected abstract function ReadCore (
		name : String, 
		context : HttpContext
) : byte[]

Parameters

name

Name for the cookie

context

HttpContext for the request

Return Value

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

Remarks

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.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also