ServerProtocol.AddToCache(Type, Type, Object) 方法

定义

Object使用从指定的协议类型和服务器类型创建的密钥存储在缓存中。

protected:
 void AddToCache(Type ^ protocolType, Type ^ serverType, System::Object ^ value);
protected void AddToCache(Type protocolType, Type serverType, object value);
member this.AddToCache : Type * Type * obj -> unit
Protected Sub AddToCache (protocolType As Type, serverType As Type, value As Object)

参数

protocolType
Type

用于创建要存储在Type缓存中的密钥的密钥value

serverType
Type

用于创建要存储在Type缓存中的密钥的密钥value

value
Object

Object 存储在缓存中的值。

适用于