ServerProtocol.AddToCache Method

Stores a Object in the cache using a key that is created from the specified protocol type and server type.

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in system.web.services.dll)

protected:
void AddToCache (
	Type^ protocolType, 
	Type^ serverType, 
	Object^ value
)
protected void AddToCache (
	Type protocolType, 
	Type serverType, 
	Object value
)
protected function AddToCache (
	protocolType : Type, 
	serverType : Type, 
	value : Object
)
Not applicable.

Parameters

protocolType

A Type that is used to create the key to store value in the cache.

serverType

A Type that is used to create the key to store value in the cache.

value

The Object to be stored in the cache.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: