| MessageHandlerTMC 构造函数 (Stream, PostModel, Int32, Boolean, DeveloperInfo, IServiceProvider) |
Senparc.Weixin SDK 官方教程《微信开发深度解析》已出版,支持中国开源事业,请【购买正版】!
《微信公众号+小程序》视频课程已经上线,【点击这里】学习!
NeuChar(纽插)已经上线,为开发者提供一站式跨平台管理枢纽,并可将应用入驻到 NeuChar 应用商店!新功能正在不断增加中,快来使用吧! https://www.neuchar.com
在线动态微信接口 Swagger WebApi 文档: https://weixin.senparc.com:8039
命名空间:
Senparc.Weixin.MP.MessageHandlers
程序集:
Senparc.Weixin.MP (在 Senparc.Weixin.MP.dll 中) 版本:16.12.400+09cf0202d5d3e8b12fec87564321e2fafb5f0214
语法 public MessageHandler(
Stream inputStream,
PostModel postModel,
int maxRecordCount = 0,
bool onlyAllowEncryptMessage = false,
DeveloperInfo developerInfo = null,
IServiceProvider serviceProvider = null
)
Public Sub New (
inputStream As Stream,
postModel As PostModel,
Optional maxRecordCount As Integer = 0,
Optional onlyAllowEncryptMessage As Boolean = false,
Optional developerInfo As DeveloperInfo = Nothing,
Optional serviceProvider As IServiceProvider = Nothing
)
参数
- inputStream
- 类型:System.IOStream
- postModel
- 类型:Senparc.Weixin.MP.Entities.RequestPostModel
- maxRecordCount (Optional)
- 类型:SystemInt32
- onlyAllowEncryptMessage (Optional)
- 类型:SystemBoolean
- developerInfo (Optional)
- 类型:Senparc.NeuChar.App.AppStoreDeveloperInfo
- serviceProvider (Optional)
- 类型:SystemIServiceProvider
参见