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创建的密钥存储在缓存中。

适用于