 | ContainerHelperGetItemCacheKey 方法 (Type, String) |
Senparc.Weixin SDK 官方教程《微信开发深度解析》已出版,支持中国开源事业,请【购买正版】!
《微信公众号+小程序》视频课程已经上线,【点击这里】学习!
NeuChar(纽插)已经上线,为开发者提供一站式跨平台管理枢纽,并可将应用入驻到 NeuChar 应用商店!新功能正在不断增加中,快来使用吧! https://www.neuchar.com
在线动态微信接口 Swagger WebApi 文档: https://weixin.senparc.com:8039
获取ContainerBag缓存Key,包含命名空间(形如:Container:Senparc.Weixin.MP.Containers.AccessTokenBag:wx669ef95216eef885)
命名空间:
Senparc.Weixin.Helpers
程序集:
Senparc.Weixin (在 Senparc.Weixin.dll 中) 版本:6.5.0.26158
语法public static string GetItemCacheKey(
Type bagType,
string shortKey
)
Public Shared Function GetItemCacheKey (
bagType As Type,
shortKey As String
) As String
参数
- bagType
- 类型:SystemType
- shortKey
- 类型:SystemString
最简短的Key,比如AppId,不需要考虑容器前缀
返回值
类型:
String
参见