Redigera

Dela via


ServerProtocol.GetFromCache(Type, Type) Method

Definition

Retrieves the Object that is stored in the cache using the key that was created from the specified protocol type and server type.

protected:
 System::Object ^ GetFromCache(Type ^ protocolType, Type ^ serverType);
protected object GetFromCache (Type protocolType, Type serverType);
member this.GetFromCache : Type * Type -> obj
Protected Function GetFromCache (protocolType As Type, serverType As Type) As Object

Parameters

protocolType
Type

A Type that is used to create the key to retrieve value from the cache.

serverType
Type

A Type that is used to create the key to retrieve value from the cache.

Returns

The Object that is stored in the cache using the key that was created from protocolType and serverType.

Applies to