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 foundRemarks
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.