CacheItem(String, CacheItemKey) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 CacheItem 结构的新实例。
public:
CacheItem(System::String ^ entryName, Microsoft::VisualStudio::RpcContracts::Caching::CacheItemKey key);
public CacheItem (string entryName, Microsoft.VisualStudio.RpcContracts.Caching.CacheItemKey key);
new Microsoft.VisualStudio.RpcContracts.Caching.CacheItem : string * Microsoft.VisualStudio.RpcContracts.Caching.CacheItemKey -> Microsoft.VisualStudio.RpcContracts.Caching.CacheItem
Public Sub New (entryName As String, key As CacheItemKey)
参数
- entryName
- String
容器中项的名称。
- key
- CacheItemKey
上传过程中由存储提供的密钥。