C#阿里云消息列队推送消息

推送消息到队列
IMNS nativeclient = new Aliyun.MNS.MNSClient(accessKeyId, accessKeySecret, endpoint, _stsToken);
                    var nativeSend = nativeclient.GetNativeTopic("SMQ");
                    nativeSend.PublishMessage("推送消息内容");

需要引用Aliyun.MNS.dll

下载地址是:https://download.csdn.net/download/leidong2009/88820291

你可能感兴趣的:(阿里云,云计算)