Namespace: Microsoft.IdentityModel.Web
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As CookieHandler
Dim value As Byte()
Dim name As String
Dim expirationTime As DateTime
Dim context As HttpContext

instance.Write(value, name, expirationTime, context)

Syntax

Visual Basic
Public Sub Write ( _
		value As Byte(), _
		name As String, _
		expirationTime As DateTime, _
		context As HttpContext _
)
C#
public void Write (
		byte[] value,
		string name,
		DateTime expirationTime,
		HttpContext context
)
C++
public:
void Write (
		array<unsigned char>^ value, 
		String^ name, 
		DateTime expirationTime, 
		HttpContext^ context
)
J#
public void Write (
		byte[] value, 
		String name, 
		DateTime expirationTime, 
		HttpContext context
)
JScript
public function Write (
		value : byte[], 
		name : String, 
		expirationTime : DateTime, 
		context : HttpContext
)

Parameters

value
name
expirationTime
context

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