Share via


ServerProtocol.GetFromCache(Type, Type) 方法

定義

擷取 Object,該物件使用從指定通訊協定類型和伺服器類型建立的索引鍵儲存在快取中。

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

參數

protocolType
Type

Type,用於建立索引鍵以擷取快取中的 value

serverType
Type

Type,用於建立索引鍵以擷取快取中的 value

傳回

Object,使用從 protocolTypeserverType 建立的索引鍵儲存在快取中。

適用於